GradeCategory.fromJson constructor

GradeCategory.fromJson(
  1. Map json_
)

Implementation

GradeCategory.fromJson(core.Map json_)
    : this(
        defaultGradeDenominator: json_.containsKey('defaultGradeDenominator')
            ? json_['defaultGradeDenominator'] as core.int
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        weight:
            json_.containsKey('weight') ? json_['weight'] as core.int : null,
      );