toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'team_id'] = teamId;
  _json[r'name'] = name;
  _json[r'display_name'] = displayName;
  if (purpose != null) {
    _json[r'purpose'] = purpose;
  }
  if (header != null) {
    _json[r'header'] = header;
  }
  _json[r'type'] = type;
  return _json;
}