LiveUpdate.fromJson constructor
- dynamic json
Implementation
factory LiveUpdate.fromJson(dynamic json) {
return LiveUpdate(
name: json['name'] as String,
type: json['type'] as String,
content: json['content'] as dynamic,
lastContentUpdateTimestamp: json['lastContentUpdateTimestamp'] as String,
lastStateChangeTimestamp: json['lastStateChangeTimestamp'] as String,
dismissTimestamp: json['dismissTimestamp'] as String?,
);
}