pop function Null safety

Future pop(
  1. {dynamic result}
)

Implementation

Future pop({dynamic result}) async => Navigator.of(Get.context!).pop(result);