ProfileState constructor

const ProfileState({
  1. @Default(true) bool isLoading,
  2. @Default(false) bool isButtonLoading,
  3. @Default(false) bool checkLocker,
  4. @Default(null) ProfileModel? profile,
  5. @Default(null) String? frontImage,
  6. @Default(null) String? backImage,
  7. @Default(null) String? profileImage,
  8. @Default(null) int? langIndex,
  9. @Default([]) List<ReviewModel> reviewList,
})

Implementation

const factory 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,
}) = _ProfileState;