testAndroidEmulator function

Device testAndroidEmulator({
  1. String id = 'emulator-5554',
  2. String name = 'Pixel 7',
  3. DeviceState state = DeviceState.booted,
})

Booted Android emulator; override only what the test cares about.

Implementation

Device testAndroidEmulator({
  String id = 'emulator-5554',
  String name = 'Pixel 7',
  DeviceState state = DeviceState.booted,
}) => Device.android(
  id: id,
  name: name,
  state: state,
  type: DeviceType.simulator,
);