debugPrecondition method Null safety

void debugPrecondition(
  1. PreconditionId id,
  2. [Map<PreconditionId, bool>? _doneMap]
)

Implementation

void debugPrecondition(PreconditionId id, [Map<PreconditionId, bool>? _doneMap]) {
  var p = getPrecondition(id)!;
  _doneMap ??= {};
  _debugPreconditionImpl(p, _doneMap, 0);
}