Item class Null safety

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.
read-onlyinherited
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.
read-onlyinherited
type ItemType?
The item type (folder or object).
final

Methods

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

Operators

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