isWeb property
bool
isWeb
A constant that is true if the application was compiled to run on the web.
Implementation
static bool get isWeb => _platform.isWeb;
A constant that is true if the application was compiled to run on the web.
static bool get isWeb => _platform.isWeb;