prepare method
Implementation
Future<void> prepare() async {
bonesUICompiler.prepare();
final platform = this.platform;
final allKnownPlatforms = this.allKnownPlatforms;
if (!allKnownPlatforms.contains(platform)) {
print('** Unknown platform: `$platform`');
print('-- Known platforms: $allKnownPlatforms');
exit(1);
}
final parsedPlatform = parsedArgsPlatform ?? '';
if (!_isValidPlatform(parsedPlatform) && args.contains(parsedPlatform)) {
print(
'** Ignoring `platform` parameter `$parsedPlatform`. Selected platform: `$platform`');
}
}