Position class

Position defines a position within a collection of data.

The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index.

Constructors

Position({String? byteOffset, ConcatPosition? concatPosition, bool? end, String? key, String? recordIndex, String? shufflePosition})
Position.fromJson(Map _json)

Properties

byteOffset String?
Position is a byte offset.
getter/setter pair
concatPosition ConcatPosition?
CloudPosition is a concat position.
getter/setter pair
end bool?
Position is past all other positions.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
key String?
Position is a string key, ordered lexicographically.
getter/setter pair
recordIndex String?
Position is a record index.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shufflePosition String?
CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited