ComplaintInboxState class

Annotations
  • @freezed

Constructors

ComplaintInboxState.complaints({@Default(false) bool loading, @Default(false) bool isFiltered, @Default([]) List<PgrServiceModel> complaints, @Default([]) List<PgrServiceModel> filteredComplaints, PgrFilters? filters, PgrSearchKeys? searchKeys})
const
factory

Properties

complaints List<PgrServiceModel>
no setterinherited
copyWith → $ComplaintInboxStateCopyWith<ComplaintInboxState>
no setterinherited
filteredComplaints List<PgrServiceModel>
no setterinherited
filters PgrFilters?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isFiltered bool
no setterinherited
loading bool
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchKeys PgrSearchKeys?
no setterinherited

Methods

map<TResult extends Object?>({required TResult complaints(_ComplaintInboxState value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? complaints(_ComplaintInboxState value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult complaints(_ComplaintInboxState value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult complaints(bool loading, bool isFiltered, List<PgrServiceModel> complaints, List<PgrServiceModel> filteredComplaints, PgrFilters? filters, PgrSearchKeys? searchKeys)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult complaints(bool loading, bool isFiltered, List<PgrServiceModel> complaints, List<PgrServiceModel> filteredComplaints, PgrFilters? filters, PgrSearchKeys? searchKeys)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? complaints(bool loading, bool isFiltered, List<PgrServiceModel> complaints, List<PgrServiceModel> filteredComplaints, PgrFilters? filters, PgrSearchKeys? searchKeys)?}) → TResult?
inherited

Operators

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