IdpConfig.fromJson constructor

IdpConfig.fromJson(
  1. Map json_
)

Implementation

IdpConfig.fromJson(core.Map json_)
  : this(
      clientId: json_['clientId'] as core.String?,
      enabled: json_['enabled'] as core.bool?,
      experimentPercent: json_['experimentPercent'] as core.int?,
      provider: json_['provider'] as core.String?,
      secret: json_['secret'] as core.String?,
      whitelistedAudiences:
          (json_['whitelistedAudiences'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );