toJson method
Implementation
Map<String, dynamic> toJson() {
final descriptionRegex = this.descriptionRegex;
final eventType = this.eventType;
final snapshotOwner = this.snapshotOwner;
return {
'DescriptionRegex': descriptionRegex,
'EventType': eventType.toValue(),
'SnapshotOwner': snapshotOwner,
};
}