ChannelModel.fromMap constructor

ChannelModel.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ChannelModel.fromMap(Map<String, dynamic> map) {
  return ChannelModel(
    channelId: map['channelId'],
    channelName: map['channelName'],
    channelDescription: map['channelDescription'],
    channelImage: map['channelImage'],
    channelIsConnected: map['channelIsConnected'],
    socialAccountData: map['socialAccountData'],
  );
}