DataObject.of constructor

DataObject.of([
  1. Map<String, Object?> source = const {}
])

Creates a data object with items copied from source.

Implementation

factory DataObject.of([Map<String, Object?> source = const {}]) =>
    DataObjectView<DataObject, DataArray>._ensureProtected(source);