enumAsString property

  1. @override
bool enumAsString
final

By default, all enums are assumed to be delivered as int. However, this requires order to be maintained; additionally some providers deliver enums as String (e.g. {"party", "baseball", ...}). This field value should apply to Iterable and single field types of enum.

The type of this field should be an enum. Defaults to false.

Implementation

@override
final bool enumAsString;