15 lines
260 B
Dart
15 lines
260 B
Dart
import '/l10n/generated/l10n.dart';
|
|
|
|
enum SearchOption {
|
|
local,
|
|
web;
|
|
|
|
String get name {
|
|
switch (this) {
|
|
case SearchOption.local:
|
|
return Strings.current.local;
|
|
case SearchOption.web:
|
|
return Strings.current.web;
|
|
}
|
|
}
|
|
}
|