SembastCodec class abstract

The sembast codec to use to read/write records.

It uses a user defined codec that must convert between a json encodable object (map, list, num, String, bool, inner null) and a single line string.

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

Constructors

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

Properties

codec Codec<Object?, String>?
The actual codec used
no setter
hashCode int
The hash code for this object.
no setterinherited
jsonEncodableCodec JsonEncodableCodec
The codec to handle custom types
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String?
The public signature, can be a constant, a password hash...
no setter

Methods

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

Operators

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