EditBuffer class
Local dirty-path edit state. It is UI orchestration state, not graph data.
Constructors
-
EditBuffer({required Map<
String, Object?> original, Map<String, Object?> edits = const {}, bool isSaving = false, EntityGraphError? error}) -
const
Properties
-
dirtyPaths
→ Set<
String> -
no setter
-
edits
→ Map<
String, Object?> -
final
- error → EntityGraphError?
-
final
- hasError → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDirty → bool
-
no setter
- isSaving → bool
-
final
-
original
→ Map<
String, Object?> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Map< String, Object?> ? original, Map<String, Object?> ? edits, bool? isSaving, EntityGraphError? error, bool clearError = false}) → EditBuffer -
merged(
) → Map< String, Object?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revert(
) → EditBuffer -
set(
String path, Object? value) → EditBuffer -
toString(
) → String -
A string representation of this object.
inherited
-
value(
String path) → Object?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited