forPlatform method
Returns a copy of this with all platform-specific configuration from onPlatform resolved.
Implementation
SuiteConfiguration forPlatform(SuitePlatform platform) {
if (onPlatform.isEmpty) return this;
var config = this;
onPlatform.forEach((platformSelector, platformConfig) {
if (!platformSelector.evaluate(platform)) return;
config = config.merge(platformConfig);
});
return config.change(onPlatform: {});
}