isMobilePlatform function
Checks if it is a mobile platform (Android or iOS).
Implementation
bool isMobilePlatform() {
final platform = getCurrentPlatform();
return platform == PlatformType.android || platform == PlatformType.ios;
}
Checks if it is a mobile platform (Android or iOS).
bool isMobilePlatform() {
final platform = getCurrentPlatform();
return platform == PlatformType.android || platform == PlatformType.ios;
}