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