useIntValueForSerialization property

bool? useIntValueForSerialization
final

Whether to use the toInt value of the enum field for toJson/fromJson & serialized method.

Setting this to true will override the EnumValue.serialized value.

default: false

Implementation

final bool? useIntValueForSerialization;