pop method

dynamic pop({
  1. bool result = true,
})

Implementation

pop({bool result = true}) => Navigator.of(context).pop(result);