raiseObjection method

Objection raiseObjection(
  1. [String name = '']
)

Creates and returns a new objection named name applied to this Phase.

Implementation

Objection raiseObjection([String name = '']) {
  final newObjection = Objection._(name, this);
  _objections.add(newObjection);
  return newObjection;
}