AttendanceIndividualState class

Annotations
  • @freezed

Constructors

AttendanceIndividualState.error(String? error)
const
factory
AttendanceIndividualState.initial()
const
factory
AttendanceIndividualState.loaded({List<AttendeeModel>? attendanceSearchModelList, List<AttendeeModel>? attendanceCollectionModel, @Default(0) int offsetData, @Default(0) int currentOffset, @Default(0) int countData, @Default(10) int limitData, @Default(false) bool viewOnly})
factory
AttendanceIndividualState.loading()
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult initial(_Initial value), required TResult loading(_Loading value), required TResult loaded(_AttendanceRowModelLoaded value), required TResult error(_Error value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? initial(_Initial value)?, TResult? loading(_Loading value)?, TResult? loaded(_AttendanceRowModelLoaded value)?, TResult? error(_Error value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult initial(_Initial value)?, TResult loading(_Loading value)?, TResult loaded(_AttendanceRowModelLoaded value)?, TResult error(_Error value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult initial()?, TResult loading()?, TResult loaded(List<AttendeeModel>? attendanceSearchModelList, List<AttendeeModel>? attendanceCollectionModel, int offsetData, int currentOffset, int countData, int limitData, bool viewOnly)?, TResult error(String? error)?, 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 initial(), required TResult loading(), required TResult loaded(List<AttendeeModel>? attendanceSearchModelList, List<AttendeeModel>? attendanceCollectionModel, int offsetData, int currentOffset, int countData, int limitData, bool viewOnly), required TResult error(String? error)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? initial()?, TResult? loading()?, TResult? loaded(List<AttendeeModel>? attendanceSearchModelList, List<AttendeeModel>? attendanceCollectionModel, int offsetData, int currentOffset, int countData, int limitData, bool viewOnly)?, TResult? error(String? error)?}) → TResult?
inherited

Operators

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