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