Item.fromJson constructor
Implementation
factory Item.fromJson(Map<String, dynamic> json) {
return Item(
contentLength: json['ContentLength'] as int?,
contentType: json['ContentType'] as String?,
eTag: json['ETag'] as String?,
lastModified: timeStampFromJson(json['LastModified']),
name: json['Name'] as String?,
type: (json['Type'] as String?)?.toItemType(),
);
}