deepClone method
Deep clones object which is serialisable.
Implementation
MarshalledObject deepClone()
{
String serialisedString = json.encode(_rawValue);
return new MarshalledObject( json.decode(serialisedString) );
}
Deep clones object which is serialisable.
MarshalledObject deepClone()
{
String serialisedString = json.encode(_rawValue);
return new MarshalledObject( json.decode(serialisedString) );
}