core.Map<core.String, core.dynamic> toJson() => { if (drainedMachines != null) 'drainedMachines': drainedMachines!, if (drainingMachines != null) 'drainingMachines': drainingMachines!, };