takeControl static method Null safety

Future<bool> takeControl(
  1. List<String> args
)

Implementation

static Future<bool> takeControl(List<String> args) async {
  if (args.length != 3 || args[0] != 'multi_window') {
    return false;
  }
  final isw = InternalStateWindow();
  runApp(isw);
  isw.setupHandler();
  return true;
}