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