toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'name': name,
      'type': type,
      'content': content,
      'lastContentUpdateTimestamp': lastContentUpdateTimestamp,
      'lastStateChangeTimestamp': lastStateChangeTimestamp,
      'dismissTimestamp': dismissTimestamp,
    };