fromMap static method
override
Construct from Map.
Implementation
static SearchEmojis? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
if (_ != CONSTRUCTOR) return null;
var extra = _map['@extra'];
var clientId = _map['@clientId'];
var text = _map['text']! as String;
var exact_match = _map['exact_match']! as bool;
var input_language_codes = List<String>.from(
(_map["input_language_codes"] ?? []).map(
(e) => e as String,
),
);
return SearchEmojis(
extra: extra,
clientId: clientId,
text: text,
exact_match: exact_match,
input_language_codes: input_language_codes,
);
}