getLocalSupportDir method

Future<String?> getLocalSupportDir()

获取应用程序支持路径

Implementation

Future<String?> getLocalSupportDir() async {
  try {
    final dir = await getApplicationSupportDirectory();
    return dir.path;
  } catch (e) {
    logger.e(tag: TAG, e);
    return null;
  }
}