LicenseCode.fromJson constructor
LicenseCode.fromJson(
- Map json_
Implementation
LicenseCode.fromJson(core.Map json_)
: this(
creationTimestamp: json_.containsKey('creationTimestamp')
? json_['creationTimestamp'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
licenseAlias: json_.containsKey('licenseAlias')
? (json_['licenseAlias'] as core.List)
.map((value) => LicenseCodeLicenseAlias.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
transferable: json_.containsKey('transferable')
? json_['transferable'] as core.bool
: null,
);