initIsolate method

Future<void> initIsolate({
  1. required int clientId,
  2. int clientUserId = 0,
  3. Map? clientOption,
})

add this for multithread on flutter apps

Implementation

Future<void> initIsolate({
  required int clientId,
  int clientUserId = 0,
  Map? clientOption,
}) async {
  Map client_new_option = client_option.clone();
  if (clientOption != null) {
    client_new_option.addAll(clientOption);
  }
}