getIsAcConnected method

  1. @override
Future<bool?> getIsAcConnected()
override

getIsAcConnected() returns a Boolean representing if the connect printer is charging.

Implementation

@override
Future<bool?> getIsAcConnected() async {
  bool? isAcConnected = await methodChannel.invokeMethod<bool>(
    'getIsAcConnected',
  );
  return isAcConnected;
}