encodeSuccessEnvelope method
- @override
override
Encodes a successful result
into a binary envelope.
Implementation
@override
ByteData encodeSuccessEnvelope(dynamic result) {
return const JSONMessageCodec().encodeMessage(<dynamic>[result]);
}