isWeb property

bool get isWeb

can be used to check platform is web or not using kIsWeb internally

Implementation

static bool get isWeb => kIsWeb;