noSuchMethod method Null safety

  1. @override
dynamic noSuchMethod(
  1. Invocation invocation
)
override

This gives us some grace time when the dart:ui side adds something to PlatformDispatcher, and makes things easier when we do rolls to give us time to catch up.

Implementation

@override
dynamic noSuchMethod(Invocation invocation) {
  return null;
}