fromMap static method
override
Construct from Map.
Implementation
static StatisticalGraph? fromMap(Map<String, dynamic>? _map) {
if (_map == null) return null;
var _ = _map["@type"];
switch (_) {
case 'statisticalGraphData':
return StatisticalGraphData.fromMap(_map);
case 'statisticalGraphAsync':
return StatisticalGraphAsync.fromMap(_map);
case 'statisticalGraphError':
return StatisticalGraphError.fromMap(_map);
case null:
default:
return null;
}
}