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

Methods

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

Operators

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