offAndToNamed<T> function

Future<T?>? offAndToNamed<T>(
  1. String page, {
  2. dynamic arguments,
  3. int? id,
  4. dynamic result,
  5. Map<String, String>? parameters,
})

关闭当前页面并进入下一个界面

Implementation

Future<T?>? offAndToNamed<T>(
  String page, {
  dynamic arguments,
  int? id,
  dynamic result,
  Map<String, String>? parameters,
}) {
  return Get.offAndToNamed<T>(page,
      arguments: arguments, id: id, result: result, parameters: parameters);
}