isIos property

bool isIos

判断是否为 ios 平台

Implementation

bool get isIos => myPlatform.whenOrNull(ios: () => true, macos: () => true) ?? false;