ensureSingleInstance static method

Future ensureSingleInstance(
  1. List<String> arguments,
  2. String pipeName, {
  3. dynamic onSecondWindow(
    1. List<String>
    )?,
  4. bool bringWindowToFront = true,
})

Implementation

static Future ensureSingleInstance(List<String> arguments, String pipeName,
    {Function(List<String>)? onSecondWindow,
    bool bringWindowToFront = true}) async {
  throw UnimplementedError(
      "windows_single_instance not supported on this platform");
}