Pickle class
A Memento-like abstraction of an object's state.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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
-
readBool(
String key, {bool? defaultValue}) → bool -
Reads a
bool
from this Pickle. -
readDouble(
String key, {double? defaultValue}) → double -
Reads a
double
from this Pickle. -
readInt(
String key, {int? defaultValue}) → int -
Reads an
int
from this Pickle. -
readPickle(
String key, {Pickle? defaultValue}) → Pickle -
Reads a
Pickle
from this Pickle. -
readPickleable<
T> (String key, T depickler(Pickle pickle), {T? defaultValue}) → T -
Reads a
Pickleable
from this Pickle. -
readPickleables<
T> (String key, T depickler(Pickle pickle), {List< T> ? defaultValue}) → List<T> -
Reads a
List
of Pickleables from this Pickle. -
readPickles(
String key, {List< Pickle> ? defaultValue}) → List<Pickle> -
Reads a
List
ofPickle
s from thisPickle
. -
readString(
String key, {String? defaultValue}) → String -
Reads a
String
from this Pickle. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object? other) → bool -
The equality operator.
override