removeOptions<T extends Option<Object?>> method

void removeOptions<T extends Option<Object?>>()
inherited

Removes all options of the given type from this CoAP message.

Implementation

void removeOptions<T extends Option<Object?>>() =>
    _options.removeWhere((final element) => element is T);