shouldAssignList method
Implementation
bool shouldAssignList(DartType targetFieldType) {
// The source can be mapped to the target, if the source is mapable object and the target is listLike.
return _isCoreListLike(targetFieldType) && _isMapable(field!.type);
}