toJson method

Map<String, Object?> toJson()

Implementation

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

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