IdentityMarshaller<T> class
Provided temporarily for compatibility reasons. See IdentityMarshaler.
- Inheritance
-
- Object
- SquadronMarshaller<
T, T> - IdentityMarshaller
- Annotations
-
- @Deprecated('use "IdentityMarshaler<T>" instead.')
Constructors
- IdentityMarshaller()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
marshal(
T data) → T -
Serialize
data
of typeT
to typeS
, eg. aString
or some binary representation.unmarshal(marshal(data))
must produce an instance ofT
that is equivalent to original instancedata
.inherited -
marshall(
T data) → T -
Provided temporarily for compatibility reasons. See marshal.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unmarshal(
T data) → T -
Deserialize a representation of type
S
back to the original data of typeT
.unmarshal(marshal(data))
must produce an instance ofT
that is equivalent to original instancedata
.inherited -
unmarshall(
T data) → T -
Provided temporarily for compatibility reasons. See unmarshal.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited