LocalTest constructor
LocalTest(})
Creates a new LocalTest.
If guarded is true, the test is run in its own error zone, and any
errors that escape that zone cause the test to fail. If it's false, it's
the caller's responsibility to invoke LiveTest.run in the context of a
call to Invoker.guard.
Implementation
LocalTest(
this.name,
this.metadata,
this._body, {
this.trace,
this.location,
bool guarded = true,
this.isScaffoldAll = false,
}) : _guarded = guarded;