closeScreen<T> function Null safety

void closeScreen<T>(
  1. BuildContext context,
  2. [T? value]
)

Implementation

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