from<K extends Object, V extends Object> static method
Creates a data object with items mapped from source
of K
- V
pairs.
Implementation
static DataObject from<K extends Object, V extends Object>(
Map<K, V> source,
MapEntry<String, Object> Function(K, V) convert,
) =>
DataObjectView._protected(source.map<String, Object>(convert));