factory BatchRunTestCasesMetadata({ $core.Iterable<TestError>? errors, }) { final _result = create(); if (errors != null) { _result.errors.addAll(errors); } return _result; }