toIntermediateFromFormat method

  1. @override
  2. @protected
MarshalledObject toIntermediateFromFormat(
  1. String? encodedPayload
)
override

abstract method

Implementation

@override
@protected MarshalledObject toIntermediateFromFormat(String? encodedPayload)
{
  if (encodedPayload != null && encodedPayload.isNotEmpty) {
    return new MarshalledObject( json.decode(encodedPayload) );
  }
  else {
    return new MarshalledObject(null); // Null if empty string.
  }
}