asyncOpen method

Future<void> asyncOpen()

Implementation

Future<void> asyncOpen() async {
  assert(partition.length != 0);

  Map<dynamic, dynamic> map = await _channel.invokeMethod(
      Action.asyncOpen.name, <String, dynamic>{
    'identity': _identity,
    'appId': _appId,
    'partition': partition
  });
  if (map["error"] != null) {
    throw Exception("create object finished with exception ${map["error"]}");
  }

  return;
}