IdentityServiceMembershipSpec.fromJson constructor

IdentityServiceMembershipSpec.fromJson(
  1. Map json_
)

Implementation

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