forked from firka/flutter
This commit is contained in:
@@ -168,7 +168,7 @@ class AndroidSemanticsAction {
|
||||
case _kSetText:
|
||||
return 'AndroidSemanticsAction.setText';
|
||||
default:
|
||||
return null;
|
||||
throw UnimplementedError();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -211,7 +211,7 @@ class AndroidSemanticsAction {
|
||||
/// Creates a new [AndroidSemanticsAction] from an integer `value`.
|
||||
///
|
||||
/// Returns `null` if the id is not a known Android accessibility action.
|
||||
static AndroidSemanticsAction deserialize(int value) {
|
||||
static AndroidSemanticsAction? deserialize(int value) {
|
||||
return _kActionById[value];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user