StreamRevision.fromPosition constructor

StreamRevision.fromPosition(
  1. StreamPosition position
)

Creates a new StreamRevision from the given StreamPosition.

Implementation

factory StreamRevision.fromPosition(StreamPosition position) =>
    StreamRevision._(position.value);