GetCustomKeyStoreResult.fromMap constructor

GetCustomKeyStoreResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetCustomKeyStoreResult.fromMap(Map<String, dynamic> map) {
  return GetCustomKeyStoreResult(
    cloudHsmClusterId: (() { final guardedValue = map['cloudHsmClusterId']; if (guardedValue == null) return null; return guardedValue as String; })(),
    connectionState: (() { final guardedValue = map['connectionState']; if (guardedValue == null) return null; return guardedValue as String; })(),
    creationDate: (() { final guardedValue = map['creationDate']; if (guardedValue == null) return null; return guardedValue as String; })(),
    customKeyStoreId: (() { final guardedValue = map['customKeyStoreId']; if (guardedValue == null) return null; return guardedValue as String; })(),
    customKeyStoreName: (() { final guardedValue = map['customKeyStoreName']; if (guardedValue == null) return null; return guardedValue as String; })(),
    id: (() { final guardedValue = map['id']; if (guardedValue == null) return null; return guardedValue as String; })(),
    region: (() { final guardedValue = map['region']; if (guardedValue == null) return null; return guardedValue as String; })(),
    trustAnchorCertificate: (() { final guardedValue = map['trustAnchorCertificate']; if (guardedValue == null) return null; return guardedValue as String; })(),
  );
}