ImportJob.fromJson constructor
ImportJob.fromJson(
- Map json_
Implementation
ImportJob.fromJson(core.Map json_)
: this(
attestation: json_.containsKey('attestation')
? KeyOperationAttestation.fromJson(
json_['attestation'] as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
expireEventTime: json_.containsKey('expireEventTime')
? json_['expireEventTime'] as core.String
: null,
expireTime: json_.containsKey('expireTime')
? json_['expireTime'] as core.String
: null,
generateTime: json_.containsKey('generateTime')
? json_['generateTime'] as core.String
: null,
importMethod: json_.containsKey('importMethod')
? json_['importMethod'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
protectionLevel: json_.containsKey('protectionLevel')
? json_['protectionLevel'] as core.String
: null,
publicKey: json_.containsKey('publicKey')
? WrappingPublicKey.fromJson(
json_['publicKey'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);