fromMap static method

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

Construct from Map.

Implementation

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