ChannelSummary.fromJson constructor
Implementation
factory ChannelSummary.fromJson(Map<String, dynamic> json) {
return ChannelSummary(
channelArn: json['ChannelArn'] as String?,
lastMessageTimestamp: timeStampFromJson(json['LastMessageTimestamp']),
metadata: json['Metadata'] as String?,
mode: (json['Mode'] as String?)?.toChannelMode(),
name: json['Name'] as String?,
privacy: (json['Privacy'] as String?)?.toChannelPrivacy(),
);
}