EntityGraphSnapshot class final
Immutable graph data captured at one publication boundary.
Constructors
-
EntityGraphSnapshot.fromData({required Map<
String, Map< entities, required Map<String, Map< >String, Object?> >String, Map< patches, required Map<String, Map< >String, Object?> >String, EntityState> entityStates, required Map<String, EntitySyncMetadata> syncMetadata, required Map<String, ListState> lists, Map<String, String> listTypes = const {}}) -
Create a snapshot from already validated graph data.
factory
Properties
-
entities
→ Map<
String, Map< String, Map< >String, Object?> > -
final
-
entityStates
→ Map<
String, EntityState> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lists
→ Map<
String, ListState> -
final
-
listTypes
→ Map<
String, String> -
final
-
patches
→ Map<
String, Map< String, Map< >String, Object?> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
syncMetadata
→ Map<
String, EntitySyncMetadata> -
final
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