IdentityServiceSpec.fromJson constructor

IdentityServiceSpec.fromJson(
  1. Map json_
)

Implementation

IdentityServiceSpec.fromJson(core.Map json_)
  : this(
      authMethods:
          (json_['authMethods'] as core.List?)
              ?.map(
                (value) => IdentityServiceAuthMethod.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      identityServiceOptions:
          json_.containsKey('identityServiceOptions')
              ? IdentityServiceIdentityServiceOptions.fromJson(
                json_['identityServiceOptions']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );