CursorEntry class

Represents an entry returned by cursor operations

Constructors

CursorEntry.new({required List<int> key, required List<int> data})
Creates a cursor entry with raw binary key and data
CursorEntry.fromUtf8({required String key, required String data})
Creates a CursorEntry from UTF-8 encoded strings
factory

Properties

data List<int>
Raw binary value data
final
dataAsString String
Convenience method to decode the data as UTF-8 string
no setter
hashCode int
The hash code for this object.
no setterinherited
key List<int>
Raw binary key data
final
keyAsString String
Convenience method to decode the key as UTF-8 string
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toStringDecoded() String
Returns a string representation with UTF-8 decoded contents Throws FormatException if the data is not valid UTF-8

Operators

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