PutLoadResultToStateEvent<Query, LoadResult> class

The event must be called from the overridden function RecordsLoader.putLoadResultToState.

The handler must perform the same actions as those for this function.

Inheritance
Annotations
  • @immutable

Constructors

PutLoadResultToStateEvent.new({required Query query, required LoadingKey loadingKey, required LoadResult loadResult})
Creates a new PutLoadResultToStateEvent.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
loadingKey LoadingKey
Key identifying the load.
final
loadResult → LoadResult
The result of the loading, which should be placed in the list state.
final
query → Query
The query that was executed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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