fromMap static method

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

Gets a possible ClientCertResponse instance from a Map value.

Implementation

static ClientCertResponse? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = ClientCertResponse(
    certificatePath: map['certificatePath'],
  );
  instance.action = ClientCertResponseAction.fromNativeValue(map['action']);
  instance.androidKeyStoreType = map['keyStoreType'];
  instance.certificatePassword = map['certificatePassword'];
  instance.keyStoreType = map['keyStoreType'];
  return instance;
}