toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'notificationType'] = notificationType;
  if (parameter != null) {
    json[r'parameter'] = parameter;
  }
  return json;
}