isDesktop property
bool
get
isDesktop
Check if platform is desktop
Implementation
bool get isDesktop => this == Platform.macos || this == Platform.windows || this == Platform.linux;
Check if platform is desktop
bool get isDesktop => this == Platform.macos || this == Platform.windows || this == Platform.linux;