removeFragmentWhere method

void removeFragmentWhere({
  1. required bool where(
    1. TextFragment
    ),
})

Implementation

void removeFragmentWhere({required bool Function(TextFragment) where}) {
  if (_sealed) {
    throw StateError(
        'Cannot make remove operation when $runtimeType is sealed');
  }
  _fragments.removeWhere(where);
}