removeDefined method

void removeDefined(
  1. Object scheme
)

Remove defined processor(s) with given scheme.

scheme can be either Set of String or just a String.

Implementation

void removeDefined(Object scheme) {
  if (scheme is Set) {
    scheme.forEach(_parseProcessors.remove);
  } else if (scheme is String) {
    _parseProcessors.remove(scheme);
  } else {
    throw ArgumentError.value(
        scheme, "scheme", "The scheme should be either Set or String");
  }
}