EventParameters.fromJson constructor
Implementation
factory EventParameters.fromJson(Map<String, dynamic> json) {
return EventParameters(
descriptionRegex: json['DescriptionRegex'] as String,
eventType: (json['EventType'] as String).toEventTypeValues(),
snapshotOwner: (json['SnapshotOwner'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
);
}