fromJson static method

StatisticalGraphAsync? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static StatisticalGraphAsync? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return StatisticalGraphAsync(
    token: (json['token'] as String?) ?? '',
  );
}