setData abstract method

void setData(
  1. Map<String, Object?> data
)

Replaces the entries of this dictionary with those of the given Map.

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(Map<String, Object?> data);