call method
Implementation
@override
Future<
Either<InternetConnectionDriverError,
Stream<InternetConnectionStatus>>> call() async {
InternetConnectionDriver connection = InternetConnectionDriverImpl();
try {
return right(await connection.checkInternetConnection());
} catch (e) {
return left(InternetConnectionDriverError());
}
}