boot static method
Bootstrap Magic with test configuration.
Use when you need full Magic.init() with test configs. Typically called in setUpAll or at the top of main().
Implementation
static Future<void> boot({
List<Map<String, dynamic>> configs = const [],
String envFileName = '.env.testing',
}) async {
TestWidgetsFlutterBinding.ensureInitialized();
MagicApp.reset();
Magic.flush();
await Magic.init(envFileName: envFileName, configs: configs);
}