Item class

A metadata entry for a folder or object.

Constructors

Item({int? contentLength, String? contentType, String? eTag, DateTime? lastModified, String? name, ItemType? type})
Item.fromJson(Map<String, dynamic> json)
factory

Properties

contentLength int?
The length of the item in bytes.
final
contentType String?
The content type of the item.
final
eTag String?
The ETag that represents a unique instance of the item.
final
hashCode int
The hash code for this object.
no setterinherited
lastModified DateTime?
The date and time that the item was last modified.
final
name String?
The name of the item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ItemType?
The item type (folder or object).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited