initIsolateNewClient method

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

add this for multithread new client on flutter apps

Implementation

Future<void> initIsolateNewClient({
  required int clientId,
  required Map clientOption,
  int clientUserId = 0,
}) async {
  await initIsolate(
    clientId: clientId,
    clientOption: {
      ...client_option,
      ...clientOption,
    },
    clientUserId: clientUserId,
  );
}