check method

void check(
  1. String context
)

Implementation

void check(String context) {
  if (this != kLiteRtStatusOk) {
    throw StateError('LiteRT call failed: $context (status=$this)');
  }
}