AggregateStateSnapshotModel<TValue extends Object>.fromJson constructor

AggregateStateSnapshotModel<TValue extends Object>.fromJson(
  1. Map<String, dynamic> json
)

Factory constructor for creating a new AggregateStateSnapshotModel instance

Implementation

factory AggregateStateSnapshotModel.fromJson(Map<String, dynamic> json) =>
    _$AggregateStateSnapshotModelFromJson(
      json,
      (json) => AggregateEventTypes.create<JsonMap, TValue>(
        '$TValue',
        json as JsonMap,
      ),
    );