metaData property

Reads the currently set metaData (immutable)

Use modifyMetaData to update the metaData

Discussion

Why is there no simple metaData setter?

Wiredash wants to provide a mutable CustomizableWiredashMetaData Object that can easily build upon and continuously filled with new data. But Wiredash also need to know when you actually changed the metadata.

Implementation

CustomizableWiredashMetaData get metaData {
  final mutable = _model.customizableMetaData;
  // return an immutable view
  return mutable.copyWith(custom: Map.unmodifiable(mutable.custom));
}