toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'algorithm': ?algorithm,
'cryptoKey': ?cryptoKey,
'id': ?id,
'name': ?name,
'protectionLevel': ?protectionLevel,
'publicKeys': ?(() { final guardedValue = publicKeys; if (guardedValue == null) return null; return pulumi.Input.encodeList<GetKMSCryptoKeyVersionPublicKey, Map<String, dynamic>>(guardedValue, (value) => value.toMap()); })(),
'state': ?state,
'version': ?version,
};
}