AggregateStateSnapshotModel<TValue extends Object> class

Inheritance
Annotations
  • @JsonSerializable(genericArgumentFactories: true)

Constructors

AggregateStateSnapshotModel(TValue value, int version)
AggregateStateSnapshotModel.fromJson(Map<String, dynamic> json)
Factory constructor for creating a new AggregateStateSnapshotModel instance
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Check if toJson is empty (no key/value pairs)
no setterinherited
isNotEmpty bool
Check if toJson is not empty (at least key/value pair)
no setterinherited
names Iterable<String>
Get property names
no setterinherited
props List<Object?>
{@template equatable_props}
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
@macro equatable_stringify}
no setterinherited
value → TValue
final
version int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() JsonMap
Declare support for serialization to JSON
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](Object? name) Object?
Get value with property name from toJson
inherited