forked from firka/flutter
This commit is contained in:
committed by
GitHub
parent
b3bde1d9da
commit
0100285e6f
@@ -168,7 +168,7 @@ class AndroidSemanticsAction {
|
||||
case _kSetText:
|
||||
return 'AndroidSemanticsAction.setText';
|
||||
default:
|
||||
return null;
|
||||
return 'INVALID';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -210,7 +210,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