setOptions method

Future<void> setOptions({
  1. required InAppBrowserClassOptions options,
})
inherited

Sets the InAppBrowser options with the new options and evaluates them.

Implementation

Future<void> setOptions({required InAppBrowserClassOptions options}) async {
  this.throwIfNotOpened();

  Map<String, dynamic> args = <String, dynamic>{};
  args.putIfAbsent('options', () => options.toMap());
  await _channel.invokeMethod('setOptions', args);
}