UpdateAssetResponse.fromJson constructor
UpdateAssetResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory UpdateAssetResponse.fromJson(Map<String, dynamic> json) {
return UpdateAssetResponse(
arn: json['Arn'] as String?,
assetDetails: json['AssetDetails'] != null
? AssetDetails.fromJson(json['AssetDetails'] as Map<String, dynamic>)
: null,
assetType: (json['AssetType'] as String?)?.toAssetType(),
createdAt: timeStampFromJson(json['CreatedAt']),
dataSetId: json['DataSetId'] as String?,
id: json['Id'] as String?,
name: json['Name'] as String?,
revisionId: json['RevisionId'] as String?,
sourceId: json['SourceId'] as String?,
updatedAt: timeStampFromJson(json['UpdatedAt']),
);
}