PageItem class final

A catalog price entry returned in a paginated result.

Exposes id, label, about, and active, among other contract fields.

Constructors

PageItem({required String id, String? label, String? about, required bool active, required Amount nominal, String? productId, EmbeddedProduct? product, required DateTime createdAt, DateTime? updatedAt, DateTime? archivedAt})
const
PageItem.fromJson(Map<String, Object?> json)
factory

Properties

about → String?
final
active → bool
final
archivedAt → DateTime?
final
createdAt → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
label → String?
final
nominal → Amount
final
product → EmbeddedProduct?
final
productId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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