getMessageFromJsonWithChat<T extends BaseMessage> static method
- Chat chat,
- Map<
String, dynamic> json, - {ChannelType? channelType,
- String? commandType}
Implementation
static T getMessageFromJsonWithChat<T extends BaseMessage>(
Chat chat,
Map<String, dynamic> json, {
ChannelType? channelType,
String? commandType,
}) {
return _fromJson<T>(
json,
chat: chat,
channelType: channelType,
commandType: commandType,
);
}