load static method

Implementation

static Future<List<ConnectionConfig>> load(String path) async {
  final file = File(path);
  if (!await file.exists()) return [];
  final content = await file.readAsString();
  return parse(content);
}