pop<T> method Null safety

void pop<T>(
  1. BuildContext context,
  2. [T? result]
)

Similar to Navigator.pop

Implementation

void pop<T>(BuildContext context, [T? result]) =>
    Navigator.of(context).pop(result);