create method

Creates the resolver and allocates the stream info buffer. This method initializes the resolver with the specified forgetAfter time, which is the duration after which streams that are not seen will be forgotten. Returns the created resolver instance.

Implementation

@override
LSLStreamResolverContinuous create() {
  super.create();

  _resolver = lsl_create_continuous_resolver_bypred(
    predicate.toNativeUtf8().cast<Char>(),
    forgetAfter,
  );
  return this;
}