isMobile function
Implementation
bool isMobile([TargetPlatform? targetPlatform]) {
targetPlatform ??= defaultTargetPlatform;
return {TargetPlatform.iOS, TargetPlatform.android}.contains(targetPlatform);
}
bool isMobile([TargetPlatform? targetPlatform]) {
targetPlatform ??= defaultTargetPlatform;
return {TargetPlatform.iOS, TargetPlatform.android}.contains(targetPlatform);
}