marshal method

  1. @override
void marshal(
  1. MarshalledObject marshalled
)
override

Marshal method must operate by mutating empty object passed.

Implementation

@override
void marshal(MarshalledObject marshalled)
{
  marshalled.setPropertyFromDouble("lat", lat);
  marshalled.setPropertyFromDouble("lon", lon);
}