PracticeSession.fromJson constructor

PracticeSession.fromJson(
  1. Map<String, dynamic> json
)

Implementation

PracticeSession.fromJson(Map<String, dynamic> json)
    : _creationTime = DateTime.parse(json['creationTime']),
      _mode = json['mode'],
      _tense = json['tense'],
      _actuals = List<String>.from(json['actuals'] as List),
      _studyMethod = StudyMethod.values.byName(json['studyMethod']),
      _infinitive = json['infinitive'];