unregisterField static method

void unregisterField(
  1. String field
)

Remove an existing parsing field.

If there is no corresponding field the method will throw a ICalendarFormatException.

Implementation

static void unregisterField(String field) {
  if (!_objects.containsKey(field)) {
    throw ICalendarFormatException('The field $field does not exists.');
  }
  _objects.remove(field);
}