IdentitytoolkitRelyingpartyUploadAccountRequest.fromJson constructor

IdentitytoolkitRelyingpartyUploadAccountRequest.fromJson(
  1. Map json_
)

Implementation

IdentitytoolkitRelyingpartyUploadAccountRequest.fromJson(core.Map json_)
    : this(
        allowOverwrite: json_.containsKey('allowOverwrite')
            ? json_['allowOverwrite'] as core.bool
            : null,
        blockSize: json_.containsKey('blockSize')
            ? json_['blockSize'] as core.int
            : null,
        cpuMemCost: json_.containsKey('cpuMemCost')
            ? json_['cpuMemCost'] as core.int
            : null,
        delegatedProjectNumber: json_.containsKey('delegatedProjectNumber')
            ? json_['delegatedProjectNumber'] as core.String
            : null,
        dkLen: json_.containsKey('dkLen') ? json_['dkLen'] as core.int : null,
        hashAlgorithm: json_.containsKey('hashAlgorithm')
            ? json_['hashAlgorithm'] as core.String
            : null,
        memoryCost: json_.containsKey('memoryCost')
            ? json_['memoryCost'] as core.int
            : null,
        parallelization: json_.containsKey('parallelization')
            ? json_['parallelization'] as core.int
            : null,
        rounds:
            json_.containsKey('rounds') ? json_['rounds'] as core.int : null,
        saltSeparator: json_.containsKey('saltSeparator')
            ? json_['saltSeparator'] as core.String
            : null,
        sanityCheck: json_.containsKey('sanityCheck')
            ? json_['sanityCheck'] as core.bool
            : null,
        signerKey: json_.containsKey('signerKey')
            ? json_['signerKey'] as core.String
            : null,
        targetProjectId: json_.containsKey('targetProjectId')
            ? json_['targetProjectId'] as core.String
            : null,
        users: json_.containsKey('users')
            ? (json_['users'] as core.List)
                .map((value) => UserInfo.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );