TLoadResult<T> class

Result of a data load operation.

Constructors

TLoadResult(List<T> items, int totalItems)
Creates a load result.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
items List<T>
The loaded items.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalItems int
Total number of items available (for pagination).
final

Methods

copyWith({List<T>? items, int? totalItems}) TLoadResult<T>
Creates a copy with updated properties.
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