fromFile static method
Create a configuration from a file
Implementation
static Future<LSLApiConfig> fromFile(String filePath) async {
try {
final file = File(filePath);
final content = await file.readAsString();
return LSLApiConfig.fromString(content);
} catch (e) {
throw Exception('Failed to load LSL configuration from file: $e');
}
}