getApplicationDirectory method

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

Future method getApplicationDirectory has String return Value

Implementation

@override
Future<String> getApplicationDirectory() async {
  final vPath = await methodChannel.invokeMethod<String>(_GET_APP_DIR);
  if (vPath != null) {
    return vPath;
  } else {
    return "S";
  }
}