StatePathFilter class
Utility for filtering state data by specific field paths.
This class provides functionality to extract only specified paths from nested Map structures using dot notation (e.g., "user.profile.email").
Path Notation:
- Dot notation:
"user.profile.email"extractsdata["user"]["profile"]["email"] - Top-level fields:
"name"extractsdata["name"]
Behavior:
- Missing paths are silently ignored
- Nested structure is preserved (e.g.,
"profile.email"keeps theprofilemap) - Returns a new Map containing only the specified paths
Properties
- hashCode → int
-
The hash code for this object.
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