fromJson static method
Inherited by: StatisticalGraphAsync StatisticalGraphData StatisticalGraphError
Implementation
static StatisticalGraphError? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return StatisticalGraphError(
errorMessage: (json['error_message'] as String?) ?? '',
);
}