getOptions<T extends Option<Object?>> method

List<T> getOptions<T extends Option<Object?>>()
inherited

Gets all options of the given type.

Implementation

List<T> getOptions<T extends Option<Object?>>() =>
    _options.whereType<T>().toList();