The following NoSuchMethodError was thrown while handling a gesture: The method 'restartApp' was called on null. Receiver: null Tried calling: restartApp() code example
Example: The method '[]' was called on null. Receiver: null Tried calling: [](0) flutter
The method '[]' was called on null.
Receiver: null
Tried calling: [](0)