OrganizationRegistrationState class
State class for the organization registration screen.
Holds the selected status, designation, state, and city for the organization registration form. Used by OrganizationRegistrationCubit to manage the UI state for organization registration.
Constructors
- OrganizationRegistrationState.new({String? selectedStatus, String? selectedDesignation, String? selectedState, String? selectedCity})
-
Creates an OrganizationRegistrationState with the given values.
const
- OrganizationRegistrationState.initial()
-
Returns the initial state for organization registration.
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
- selectedCity → String?
-
The selected city for the organization address.
final
- selectedDesignation → String?
-
The selected designation for the contact person.
final
- selectedState → String?
-
The selected state for the organization address.
final
- selectedStatus → String?
-
The selected status for the organization.
final
Methods
-
copyWith(
{String? selectedStatus, String? selectedDesignation, String? selectedState, String? selectedCity}) → OrganizationRegistrationState - Returns a copy of this state with updated fields if provided.
-
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