Asset.fromJson constructor
Implementation
Asset.fromJson(Map<String, dynamic> json)
: tenantId = TenantId.fromJson(json['tenantId']),
customerId = json['customerId'] != null
? CustomerId.fromJson(json['customerId'])
: null,
name = json['name'],
type = json['type'],
label = json['label'],
assetProfileId = AssetProfileId.fromJson(json['assetProfileId']),
externalId = json['externalId'] != null
? AssetId.fromJson(json['externalId'])
: null,
super.fromJson(json);