Google celebrates Hispanic Heritage Month. See how.

serve method

*[<Null safety>](*

int serve (InterfaceRequest request, {dynamic rights})

Serves this request directory over request channel. Caller may specify the rights granted to the request connection. If rights is omitted, it defaults to readable and writable.


int serve(fidl.InterfaceRequest<Node> request, {OpenFlags? rights}) {
  if (rights != null) {
    assert((rights & ~openRights) == OpenFlags.$none);
  rights ??= OpenFlags.rightReadable | OpenFlags.rightWritable;
  return connect( | rights, 0, request);