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,
      );