SerializableData<D, S> class
abstract
Interface for serializable data classes:
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Forces serialization and deserialization even when SharedData.noSerializationOnDartNative is
true
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
computeSignature(
) → String - Computes the signature of this instance.
-
copy(
) → SerializableData< D, S> - Creates a copy of this instance.
-
deserialize(
S serial) → SerializableData< D, S> -
Deserializes
serial
to a instance of this type. -
deserializeData(
S serial) → D -
Deserializes
serial
toD
. -
instantiate(
D data) → SerializableData< D, S> -
Creates a new instance with
data
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → S -
Serializes this instance to
S
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
computeGenericSignature<
D> (D data) → String - Computes a generic signature for SerializableData and basic Dart types: primitive values (null, num, bool, double, String), lists and maps whose elements are any of these.
-
copyGeneric<
D> (D data) → D - Creates generic copy for SerializableData and basic Dart types: primitive values (null, num, bool, double, String), lists and maps whose elements are any of these.
-
deserializeGeneric<
D> (dynamic serial) → D -
serializeGeneric<
S> (dynamic data) → S - Generic serialization of SerializableData and basic Dart types: primitive values (null, num, bool, double, String), lists and maps whose elements are any of these.