getCacheDirectory method

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

Future method getCacheDirectory has String return Value

Implementation

@override
Future<String> getCacheDirectory() async {
  final vPath = await methodChannel.invokeMethod<String>(_GET_CASH_PATH);
  if (vPath != null) {
    return vPath;
  } else {
    return "Check Permissions";
  }
}