fromJson static method

ProblemStats fromJson(
  1. dynamic json
)

Implementation

static ProblemStats fromJson(dynamic json) {
  final decoded = jsonDecode(json) as Map<String, dynamic>;
  return ProblemStats.fromJson(decoded);
}