cleanAndPush method

Future<void> cleanAndPush(
  1. BuildContext context
)

Implementation

Future<void> cleanAndPush(BuildContext context) {
  return context.popToFirstAndPushReplacementNamed(
    path,
    args: [args],
  );
}