name property

String name

Returns the name of the enum field in a human readable format.

Implementation

String get name {
  return map(
    camel: 'Camel',
    constant: 'Constant',
    dot: 'Dot',
    kebab: 'Kebab',
    lowerFirst: 'Lowerfirst',
    no: 'No',
    pascal: 'Pascal',
    path: 'Path',
    sentence: 'Sentence',
    snake: 'Snake',
    swap: 'Swap',
    title: 'Title',
    upperFirst: 'Upperfirst',
    capital: 'Capital',
    header: 'Header',
    sponge: 'Sponge',
  );
}