OSBlocBaseState<T> class abstract

Annotations

Constructors

OSBlocBaseState.new({List<T> datas = const [], bool isLoading = false, bool isError = false, bool reachMax = false, String errorMessage = "", T? data, int currentPage = 1})
const

Properties

currentPage int
final
data → T?
final
datas List<T>
final
errorMessage String
final
hashCode int
The hash code for this object.
no setterinherited
isError bool
final
isLoading bool
final
reachMax bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({bool? isLoading, bool? isError, String? errorMessage, bool? reachMax, int? currentPage, List<T>? datas, T? data}) OSBlocBaseState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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