ArcaneFieldMapProvider<T> class
A concrete implementation of ArcaneFieldProvider using a nested Map for storage.
Supports hierarchical data access via dot notation (e.g., 'user.name.first').
- Inheritance
-
- Object
- ArcaneFieldProvider<
T> - ArcaneFieldMapProvider
Constructors
-
ArcaneFieldMapProvider({required T defaultValue, required Map<
String, dynamic> storage})
Properties
- currentValue → T
-
Current value or default.
no setterinherited
- defaultValue → T
-
The default value used as a fallback when value retrieval fails.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storage
→ Map<
String, dynamic> -
The nested storage map holding form field values.
final
-
stream
→ Stream<
T> -
Stream of value changes.
no setterinherited
Methods
-
dispose(
) → void -
Dispose resources.
inherited
-
getValue(
String k) → Future< T> -
Retrieves the value for the given key, falling back to defaultValue on error.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onGetValue(
String k) → Future< T> -
Abstract method to retrieve the value associated with a key.
override
-
onSetValue(
String k, T value) → Future< void> -
Abstract method to set the value for a key.
override
-
setValue(
String k, T value) → Future< void> -
Sets the value for the given key and emits the new value.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited