writeTo method

void writeTo(
  1. File file
)

Stores the CompletionConfiguration in the given file.

Implementation

void writeTo(File file) {
  if (!file.existsSync()) {
    file.createSync(recursive: true);
  }
  file.writeAsStringSync(_toJson());
}