toJson method
Implementation
@override
Object toJson() => {
if (delays.isNotDefault) 'delays': [for (final i in delays) i.toJson()],
'maxConcurrentLocations': ?maxConcurrentLocations?.toString(),
'maxConcurrentResourcesPerLocation': ?maxConcurrentResourcesPerLocation
?.toString(),
};