PreferenceDetailState class

Constructors

PreferenceDetailState({required PreferenceDetailMode mode, required String value, required bool enabled, bool isSaving = false, PreferenceDetailError? error})
const

Properties

enabled → bool
final
error → PreferenceDetailError?
final
hashCode → int
The hash code for this object.
no setterinherited
isSaving → bool
final
mode → PreferenceDetailMode
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
final

Methods

copyWith({String? value, bool? enabled, bool? isSaving, PreferenceDetailError? error, bool clearError = false}) → PreferenceDetailState
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