getDataDirAbsolutePath method

  1. @override
Future<String?> getDataDirAbsolutePath()
override

Implementation

@override
Future<String?> getDataDirAbsolutePath() async {
  final result =
      await methodChannel.invokeMethod<String>('getDataDirAbsolutePath');
  if (result == null) {
    throw "getDataDirAbsolutePath get null";
  }

  return result;
}