serializePPT method
Converts a PPT Payload Object into a uint8 array
Implementation
@override
Uint8List serializePPT(PPTPayload pptPayload) {
var pptMap = {
'arguments': pptPayload.arguments,
'argumentsKeywords': pptPayload.argumentsKeywords
};
_convertMapEntriesUint8ListToBinaryJsonString(pptMap);
var str =
'{"args": ${json.encode(pptMap['arguments'])}, "kwargs": ${json.encode(pptMap['argumentsKeywords'])}}';
return Utf8Encoder().convert(str);
}