toJson method
Implementation
@override
Map<String, Object?> toJson() => {
if (destinations != null) "destinations": encodeValue(destinations),
if (fxEnabled != null) "fx_enabled": encodeValue(fxEnabled),
if (id != null) "id": encodeValue(id),
'limits': encodeValue(limits),
if (schedule != null) "schedule": encodeValue(schedule),
};