toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var description = this.description;
  var id = this.id;
  var isDefault = this.isDefault;
  var issueSecuritySchemeId = this.issueSecuritySchemeId;
  var name = this.name;
  var self = this.self;

  final json = <String, Object?>{};
  if (description != null) {
    json[r'description'] = description;
  }
  if (id != null) {
    json[r'id'] = id;
  }
  json[r'isDefault'] = isDefault;
  if (issueSecuritySchemeId != null) {
    json[r'issueSecuritySchemeId'] = issueSecuritySchemeId;
  }
  if (name != null) {
    json[r'name'] = name;
  }
  if (self != null) {
    json[r'self'] = self;
  }
  return json;
}