setData abstract method

void setData(
  1. Uint8List data
)

Method is used to set user-defined data for the map object. data Data to store in the map object.

Example:

// Set custom data
Map<String, dynamic> customData = {"key": "value", "number": 42};
bool dataSuccess = _circleMapObject!.setData(customData);
print("Set circle custom data: $dataSuccess");

Implementation

void setData(Uint8List data);