shouldAssignList method

bool shouldAssignList(
  1. DartType targetFieldType
)

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);
}