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