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