add method

Future<void> add(
  1. String path
)

Implementation

Future<void> add(String path) async {
  final File file = File(path);
  if (!await file.exists()) return;

  final String content = await file.readAsString();
  list[path] = content;
}