removeSub method

void removeSub(
  1. String subname
)

删除当前目录下的指定子文件。

subname 子文件的名称。

Implementation

void removeSub(String subname) {
  File('$filename${Platform.pathSeparator}$subname').deleteSync();
}