handleMethodCall method
Called when a method call is received on this object.
Implementation
@override
Future<DBusMethodResponse> handleMethodCall(DBusMethodCall methodCall) async {
if (methodCall.interface == _batteryInterfaceName) {
return DBusMethodErrorResponse.unknownMethod();
} else {
return DBusMethodErrorResponse.unknownInterface();
}
}