ManagedBlock constructor

const ManagedBlock(
  1. String owner, {
  2. String? hint,
})

The block owner manages, its start marker saying hint. The owner is a tool's name — letters, digits, _, . and - (isValid) — and the hint one line; PubspecEditor.parse refuses any other.

Implementation

const ManagedBlock(this.owner, {this.hint}) : assert(owner.length > 0);