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