init method

void init()

Implementation

void init() {
  if (_webViewController == null) {
    throw "WebViewController must not null";
  }
  if (Platform.isIOS) {
    _loadJs(init_script_ios);
  } else {
    _loadJs(init_script_android);
  }
//    test();
}