FlutterWebAuth2Options.fromJson constructor

FlutterWebAuth2Options.fromJson(
  1. Map<String, dynamic> json
)

Construct an instance from JSON format.

Implementation

FlutterWebAuth2Options.fromJson(Map<String, dynamic> json)
    : this(
        preferEphemeral: json['preferEphemeral'],
        debugOrigin: json['debugOrigin'],
        intentFlags: json['intentFlags'],
        windowName: json['windowName'],
        timeout: json['timeout'],
        landingPageHtml: json['landingPageHtml'],
        silentAuth: json['silentAuth'],
        useWebview: json['useWebview'],
        httpsHost: json['httpsHost'],
        httpsPath: json['httpsPath'],
        customTabsPackageOrder: json['customTabsPackageOrder'],
      );