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