fromMap static method

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

Gets a possible ServerTrustAuthResponse instance from a Map value.

Implementation

static ServerTrustAuthResponse? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = ServerTrustAuthResponse();
  instance.action =
      ServerTrustAuthResponseAction.fromNativeValue(map['action']);
  return instance;
}