documentPath method

Future<String> documentPath()

日志文件的文件夹绝对地址

Implementation

Future<String> documentPath() async {
  final rootPath = await directoryPath();
  await checkDirectory(rootPath, documentName);
  return "$rootPath/$documentName";
}