create method

Future<int> create({
  1. String dataDir = '',
  2. String wsUrl = '',
})

Implementation

Future<int> create({
  String dataDir = '',
  String wsUrl = '',
}) async {
  if (!_devMode) return 0;
  _id = await VoltronApi.createDevtools(
    dataDir: dataDir,
    wsUrl: wsUrl,
  );
  return _id;
}