Device constructor

Device({
  1. required Application app,
  2. required String appIdentifier,
  3. required TestDeviceInfo device,
  4. String? driverName,
  5. TestControllerState? testControllerState,
  6. Duration? timeout,
})

Implementation

Device({
  required Application app,
  required this.appIdentifier,
  required this.device,
  this.driverName,
  this.testControllerState,
  Duration? timeout,
}) : super(
        app: app,
        logger: Logger('DEVICE: ${device.id}'),
        timeout: timeout ?? const Duration(minutes: 5),
      ) {
  logger.fine('[APPLICATION]: $appIdentifier');
  logger.fine(toString());
}