toJson method Null safety
Implementation
Map<String, dynamic> toJson() {
return {
'custom_type': customTypes,
'show_member': includeMemberList,
'show_empty': includeEmptyChannel,
'show_frozen': includeFrozenChannel,
};
}
Map<String, dynamic> toJson() {
return {
'custom_type': customTypes,
'show_member': includeMemberList,
'show_empty': includeEmptyChannel,
'show_frozen': includeFrozenChannel,
};
}