fromMap static method

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

Gets a possible WebAuthenticationSessionSettings instance from a Map value.

Implementation

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