ExecutedData<A, B> class
A class that represents data with base and modified states.
Constructors
-
ExecutedData({required Iterable<
A> base, required Iterable<B> modified}) - Creates an instance of ExecutedData with the provided base and modified data.
- ExecutedData.initial()
- Creates an initial instance of ExecutedData with empty base and modified data.
Properties
-
base
→ Iterable<
A> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isBase → bool
-
Returns true if there are no modified data.
no setter
- isEmpty → bool
-
Returns true if the base data is empty.
no setter
- isModified → bool
-
Returns true if there are modified data.
no setter
- isNotEmpty → bool
-
Returns true if the base data is not empty.
no setter
-
modified
→ Iterable<
B> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copy(
{Iterable< A> ? base, Iterable<B> ? modified}) → ExecutedData<A, B> - Creates a copy of the current ExecutedData with optional new base or modified data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override