mapping property

  1. @override
Map mapping
getter/setter pairoverride

Defines a mapping for enum values, key is the enum value, value is the target mapping value Example: EnumDescriptor( values: RecordType.values, mapping: <RecordType, String>{ RecordType.asset: 'Asset', RecordType.series: 'Series' })

Implementation

@override
Map mapping;