load method

  1. @override
void load(
  1. String file
)
override

Load properties from a file. @param file The property file.

Implementation

@override
void load(String file) {
  // TODO: UWP applications cannot access Windows registry.

  final lines = File(file).readAsLinesSync();
  // TODO: Skip UTF8 BOM if present.
  if (lines.isNotEmpty) {}

  lines.forEach((line) {
    _parseLine(line);
  });
}