requiresOverflowClass property
bool
get
requiresOverflowClass
Returns true if the number of custom types would exceed the available enumerations on the standard codec.
Implementation
bool get requiresOverflowClass =>
classes.length + enums.length >= totalCustomCodecKeysAllowed;