load method

  1. @override
Future<Map<String, Object?>> load()
override

Loads this source; later registered sources override earlier ones.

Implementation

@override
Future<Map<String, Object?>> load() async {
  final text = await _readFile(path, optional);
  return text == null ? const {} : parseJsonConfig(text);
}