1. @override
bool isAssignableWith(dartValue)

Whether or not a the argument can be assigned to this property.

Source

@override
bool isAssignableWith(dynamic dartValue) {
  if (isEnumeratedValue) {
    return enumerationValueMap.containsValue(dartValue);
  }

  return super.isAssignableWith(dartValue);
}