openCashDrawer method

  1. @override
Future<String> openCashDrawer()
override

Implementation

@override
Future<String> openCashDrawer() async {
  try {
    return await methodChannel.invokeMethod<String>('openCashDrawer') ??
        'invalid';
  } on MissingPluginException catch (_) {
    throw MissingPluginException(
        'No method found for openCashDrawer() on channel');
  }
}