toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var notificationSchemeEvents = this.notificationSchemeEvents;

  final json = <String, Object?>{};
  json[r'notificationSchemeEvents'] =
      notificationSchemeEvents.map((i) => i.toJson()).toList();
  return json;
}