getHealth method

  1. @override
Future<bool> getHealth()

Implementation

@override
Future<bool> getHealth() async {
  final value = await Command(_connection).send_object(['PING']);
  return value == 'PONG';
}