DynamicContent constructor

DynamicContent([
  1. DynamicMap? initialData
])

Create a fresh DynamicContent object.

The initialData argument, if provided, is used to update all the keys in the DynamicContent, as if updateAll had been called.

Implementation

DynamicContent([ DynamicMap? initialData ]) {
  if (initialData != null) {
    updateAll(initialData);
  }
}