toJson method
Implementation
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
if (_$data.containsKey('timeMin')) {
final l$timeMin = timeMin;
result$data['timeMin'] = l$timeMin;
}
if (_$data.containsKey('timeMax')) {
final l$timeMax = timeMax;
result$data['timeMax'] = l$timeMax;
}
if (_$data.containsKey('timeZone')) {
final l$timeZone = timeZone;
result$data['timeZone'] = l$timeZone;
}
if (_$data.containsKey('groupExpansionMax')) {
final l$groupExpansionMax = groupExpansionMax;
result$data['groupExpansionMax'] = l$groupExpansionMax;
}
if (_$data.containsKey('items')) {
final l$items = items;
result$data['items'] = l$items?.map((e) => e.toJson()).toList();
}
return result$data;
}