start method

  1. @override
Future<void> start({
  1. bool bootAnimation = false,
  2. bool snapshot = false,
  3. bool wipeData = true,
})
override

Boots the device

Implementation

@override
Future<void> start({
  bool bootAnimation = false,
  bool snapshot = false,
  bool wipeData = true,
}) =>
    runWithError('emulator', [
      '-avd',
      name!,
      if (!bootAnimation) '-no-boot-anim',
      if (!snapshot) '-no-snapshot',
      if (wipeData) '-wipe-data',
      '-prop',
      'emu.uuid=$_internalIdentifier',
      '>',
      '/dev/null',
      '2>&1',
    ]);