toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() => {
      'sessions': sessions.map((k, v) => MapEntry(k, v.toJson())),
    };