toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (remainingSeats != null) {
    _json[r'remaining_seats'] = remainingSeats;
  }
  if (isPaidTier != null) {
    _json[r'is_paid_tier'] = isPaidTier;
  }
  return _json;
}