toJson method

Map<String, Object?> toJson()

Implementation

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

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