toJson method

Map<String, Object?> toJson()

Implementation

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

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