ConversationKey.fromJson constructor
Create from JSON.
Implementation
factory ConversationKey.fromJson(Map<String, dynamic> json) {
return ConversationKey(
channel:
ChannelIdentity.fromJson(json['channel'] as Map<String, dynamic>),
conversationId: json['conversationId'] as String,
userId: json['userId'] as String?,
);
}