isPresent method

  1. @override
Future<bool> isPresent(
  1. Finder finder, {
  2. Duration? timeout = const Duration(seconds: 1),
})
override

Implementation

@override
Future<bool> isPresent(
  Finder finder, {
  Duration? timeout = const Duration(seconds: 1),
}) async {
  return finder.evaluate().isNotEmpty;
}