ProfileState class

Annotations
  • @freezed

Constructors

ProfileState({@Default(true) bool isLoading, @Default(false) bool isButtonLoading, @Default(false) bool checkLocker, @Default(null) ProfileModel? profile, @Default(null) String? frontImage, @Default(null) String? backImage, @Default(null) String? profileImage, @Default(null) int? langIndex, @Default([]) List<ReviewModel> reviewList})
const
factory

Properties

backImage String?
no setterinherited
checkLocker bool
no setterinherited
copyWith → $ProfileStateCopyWith<ProfileState>
Create a copy of ProfileState with the given fields replaced by the non-null parameter values.
no setterinherited
frontImage String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isButtonLoading bool
no setterinherited
isLoading bool
no setterinherited
langIndex int?
no setterinherited
profile ProfileModel?
no setterinherited
profileImage String?
no setterinherited
reviewList List<ReviewModel>
no setterinherited
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.
inherited

Operators

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