isPrimitiveList property

bool isPrimitiveList

Returns true if this object is a List of primitive values. See isPrimitiveValue.

Implementation

bool get isPrimitiveList {
  var self = this;
  return self is List &&
      (self is List<num> || self is List<String> || self is List<bool>);
}