setData abstract method

void setData(
  1. Iterable<Object?> data
)

Replaces the elements of this array with those of the given Iterable.

Allowed value types are Iterable, Array, Blob, DateTime, Map<String, Object?>, Dictionary, null, number types, and String.

The collections must contain only the above types.

Implementation

void setData(Iterable<Object?> data);