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