fromMap static method
override
Construct from Map.
Implementation
static ReplyMarkup? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'replyMarkupShowKeyboard':
return ReplyMarkupShowKeyboard.fromMap(_map);
case 'replyMarkupRemoveKeyboard':
return ReplyMarkupRemoveKeyboard.fromMap(_map);
case 'replyMarkupInlineKeyboard':
return ReplyMarkupInlineKeyboard.fromMap(_map);
case 'replyMarkupForceReply':
return ReplyMarkupForceReply.fromMap(_map);
case null:
default:
return null;
}
}