load static method
Load configuration from file
Implementation
static Configuration? load(String fileName) {
final file = File(fileName);
if (!file.existsSync()) {
return null;
}
final Map<String, dynamic> jsonMap = jsonDecode(file.readAsStringSync());
return Configuration._fromJson(jsonMap);
}