SembastCodec class

The sembast codec to use to read/write records.

It uses a user defined codec that must convert between a map and a single line string.

It must have a public signature, typically a comprehensive ascii name.

Constructors

SembastCodec({@required String signature, @required Codec<dynamic, String> codec, JsonEncodableCodec jsonEncodableCodec})
codec must convert between a map and a single line string
factory

Properties

codec → Codec<dynamic, String>
The actual codec used
read-only
jsonEncodableCodec → JsonEncodableCodec
The codec to handle custom types
read-only
signature → String
The public signature, can be a constant, a password hash...
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited