toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  final l$condition = condition;
  result$data['condition'] = l$condition.map((e) => e.toJson()).toList();
  if (_$data.containsKey('yes')) {
    final l$yes = yes;
    result$data['yes'] = l$yes?.map((e) => e.toJson()).toList();
  }
  if (_$data.containsKey('no')) {
    final l$no = no;
    result$data['no'] = l$no?.map((e) => e.toJson()).toList();
  }
  if (_$data.containsKey('rejoin')) {
    final l$rejoin = rejoin;
    result$data['rejoin'] = l$rejoin?.map((e) => e.toJson()).toList();
  }
  return result$data;
}