toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  if (reattachedSessions != null) {
    data['reattached_sessions'] = reattachedSessions!.map((v) => v).toList();
  }
  return data;
}