setPlatform method
Implementation
void setPlatform(TargetPlatform? value, [bool notify = true]) {
if (value == _platform) return;
_platform = value;
if (notify) notifyListeners();
}
void setPlatform(TargetPlatform? value, [bool notify = true]) {
if (value == _platform) return;
_platform = value;
if (notify) notifyListeners();
}