toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'id': id,
'name': name?.toJson(),
'icon': icon?.toJson(),
'color_id': colorId,
'is_shareable': isShareable,
'has_my_invite_links': hasMyInviteLinks,
'@type': constructor,
};