TaskState class Null safety

任务状态

Constructors

TaskState({bool refreshing = false, bool loading = false, bool refreshNoMore = false, bool loadNoMore = false})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
loading bool
read / write
loadNoMore bool
read / write
refreshing bool
read / write
refreshNoMore bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copy({bool? refreshing, bool? loading, bool? refreshNoMore, bool? loadNoMore}) TaskState
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