throwIfNotOpened method

void throwIfNotOpened({
  1. String message = '',
})
inherited

Implementation

void throwIfNotOpened({String message = ''}) {
  if (!this.isOpened()) {
    throw InAppBrowserNotOpenedException([
      'Error: ${(message.isEmpty) ? '' : message + ' '}The browser is not opened.'
    ]);
  }
}