ParseEnum<T extends Enum> extension

Provides a tryParse extension method on a List of enum values.

on

Methods

tryParse(String? name, {bool caseSensitive = false}) → T?

Available on List<T>, provided by the ParseEnum extension

Tries to parse an enum constant from its name.