forked from firka/student-legacy
7 lines
182 B
Dart
7 lines
182 B
Dart
import 'dart:io';
|
|
|
|
class PlatformUtils {
|
|
static bool get isDesktop => Platform.isWindows || Platform.isMacOS || Platform.isLinux;
|
|
static bool get isMobile => !isDesktop;
|
|
}
|