toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (id != null) {
_json[r'id'] = id;
}
if (userId != null) {
_json[r'user_id'] = userId;
}
if (teamId != null) {
_json[r'team_id'] = teamId;
}
if (displayName != null) {
_json[r'display_name'] = displayName;
}
if (type != null) {
_json[r'type'] = type;
}
return _json;
}