Device constructor
Device({
- required Application app,
- required String appIdentifier,
- required TestDeviceInfo device,
- String? driverName,
- TestControllerState? testControllerState,
- 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());
}