Defines a custom page exit event.
Future<void> pageEnd(String pageName) async { await _channel.invokeMethod('pageEnd', {'pageName': pageName}); }