use null aware operators for function invocations (#79049)

This commit is contained in:
Alexandre Ardhuin
2021-03-26 17:34:03 +01:00
committed by GitHub
parent bc2c7954db
commit e384ca7979
48 changed files with 138 additions and 320 deletions

View File

@@ -102,8 +102,7 @@ class TestTextInput {
case 'TextInput.clearClient':
_client = 0;
_isVisible = false;
if (onCleared != null)
onCleared!();
onCleared?.call();
break;
case 'TextInput.setEditingState':
editingState = methodCall.arguments as Map<String, dynamic>;