ItemOutput class

Represents an item retrieved from the database with metadata.

Extends Item with optional creation timestamp information.

Inheritance

Constructors

ItemOutput({required JsonObject item, String? createdAt})
Creates a new ItemOutput with the given item data and optional createdAt timestamp.
const

Properties

createdAt → String?
The ISO 8601 timestamp when this item was created.
final
hashCode → int
The hash code for this object.
no setteroverride
item → JsonObject
The item's data payload.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({JsonObject? item, String? createdAt}) → ItemOutput
Creates a copy of this ItemOutput with optionally modified fields.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override