GenericMarshaler<T> class abstract

Base class to abstract S in SquadronMarshaler<T, S>.

Inheritance

Constructors

GenericMarshaler()
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) → dynamic
Serialize data of type T to type S, eg. a String or some binary representation. unmarshal(marshal(data)) must produce an instance of T that is equivalent to original instance data.
inherited
marshall(T data) → dynamic
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(dynamic data) → T
Deserialize a representation of type S back to the original data of type T. unmarshal(marshal(data)) must produce an instance of T that is equivalent to original instance data.
inherited
unmarshall(dynamic data) → T
Provided temporarily for compatibility reasons. See unmarshal.
inherited

Operators

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