removeCurrent method

bool removeCurrent(
  1. BuildContext context, [
  2. dynamic result
])

Implementation

bool removeCurrent(BuildContext context, [dynamic result]) {
  final entry = ofEntry(context);
  if (entry != null) {
    entry._removeCurrent(result: result);
    return true;
  }
  return false;
}