Whether or not a the argument can be assigned to this property.
Source
bool isAssignableWith(dynamic dartValue) {
if (dartValue == null) {
return true;
}
switch (type) {
case ManagedPropertyType.integer:
return dartValue is int;
case ManagedPropertyType.bigInteger:
return dartValue is int;
case ManagedPropertyType.boolean:
return dartValue is bool;
case ManagedPropertyType.datetime:
return dartValue is DateTime;
case ManagedPropertyType.doublePrecision:
return dartValue is double;
case ManagedPropertyType.string:
return dartValue is String;
case ManagedPropertyType.transientMap:
return dartValue is Map;
case ManagedPropertyType.transientList:
return dartValue is List;
}
return false;
}