UecReport.fromJson constructor

UecReport.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory UecReport.fromJson(Map<String, dynamic> j) => UecReport(
      _double(j['margin']),
      LetterGrade.from(j['grade']),
      _int(j['worst_block_errors']) ?? 0,
      _int(j['worst_block_capacity']) ?? 0,
    );