close method

void close()

Loading failed or the SDK was reset: drops what was held and holds again.

Implementation

void close() {
  _gate.close();
  _contextGate
    ..dropHeld()
    ..open();
}