toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  final sessions = this.sessions;
  return {
    if (sessions != null)
      'sessions': sessions.map((v) => v.toJson()).toList(),
  };
}