toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'sessions':
          _sessions.map((session) => PracticeSession.toJson(session)).toList()
    };