toJson method

Map<String, dynamic> toJson()

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,
  };
}