cancelled method

void cancelled()

Implementation

void cancelled() => _end(
  NativeTurnEnd.cancelled,
  error: turn.closedUnderConsumer
      ? LiteRtLmTurnClosedException()
      : turn.cancelRequested
      ? null
      : const LiteRtLmTurnCancelledException(),
);