navigate method

Future<void> navigate({
  1. required String screenName,
})

Navigates to the screen with the given screenName.

Implementation

Future<void> navigate({
  required String screenName,
}) async {
  await _send({
    'navigation': screenName,
  });
}