init method

dynamic init(
  1. {Environment env = Environment.MAIN_NET}
)

Implementation

static init({Environment env = Environment.MAIN_NET}) async {
  await _channel.invokeMethod('init', env == Environment.MAIN_NET ? 'main_net' : 'test_net');
  ready = true;
}