SubmissionHistory.fromJson constructor

SubmissionHistory.fromJson(
  1. Map json_
)

Implementation

SubmissionHistory.fromJson(core.Map json_)
    : this(
        gradeHistory: json_.containsKey('gradeHistory')
            ? GradeHistory.fromJson(
                json_['gradeHistory'] as core.Map<core.String, core.dynamic>)
            : null,
        stateHistory: json_.containsKey('stateHistory')
            ? StateHistory.fromJson(
                json_['stateHistory'] as core.Map<core.String, core.dynamic>)
            : null,
      );