fromMap static method

InputStoryAreaTypeFoundVenue? fromMap(
  1. Map<String, dynamic>? _map
)
override

Construct from Map.

Implementation

static InputStoryAreaTypeFoundVenue? 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 query_id = _map['query_id']! as int64;
  var result_id = _map['result_id']! as String;
  return InputStoryAreaTypeFoundVenue(
    extra: extra,
    clientId: clientId,
    query_id: query_id,
    result_id: result_id,
  );
}