MSharedChannel.fromJson constructor
MSharedChannel.fromJson(
- Map<String, dynamic> json
)
Implementation
factory MSharedChannel.fromJson(Map<String, dynamic> json) {
return MSharedChannel(
id: json['id'] ?? '',
teamId: json['team_id'] ?? '',
home: json['home'] ?? '',
displayName: json['display_name'] ?? '',
name: json['name'] ?? '',
purpose: json['purpose'] ?? '',
header: json['header'] ?? '',
createAt: json['create_at'],
updateAt: json['update_at'],
deleteAt: json['delete_at'],
creatorId: json['creator_id'],
remoteId: json['remote_id'],
);
}