terminate static method

void terminate(
  1. BuildContext context, [
  2. Object? result
])

Implementation

static void terminate(BuildContext context, [Object? result]) {
  AppNavigator.of(context).pop(result);
}