mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt.
This commit is contained in:
@@ -44,12 +44,6 @@ enum OS {
|
||||
OS.ios => 'iOS',
|
||||
final val => val.name.upperFirst,
|
||||
};
|
||||
|
||||
/// Whether has platform specific settings.
|
||||
static final hasSpecSetting = switch (type) {
|
||||
OS.android || OS.ios => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
|
||||
final isAndroid = OS.type == OS.android;
|
||||
|
||||
Reference in New Issue
Block a user