Google is committed to advancing racial equity for Black communities. See how.

decode method

*<Null safety>*
  • @override

InterfaceRequest<T>? decode (Decoder decoder, int offset, int depth) override

Implementation

@override
InterfaceRequest<T>? decode(Decoder decoder, int offset, int depth) {
  final Handle? handle = _decodeNullableHandle(
      decoder, offset, ZX.OBJ_TYPE_CHANNEL, ZX.DEFAULT_CHANNEL_RIGHTS);
  return handle == null ? null : InterfaceRequest<T>(Channel(handle));
}