toFile method

Future<void> toFile(
  1. File file
)

Implementation

Future<void> toFile(File file) async {
  await file.writeAsString(_data.join('\n'));
}