SuiteInfoProto constructor

SuiteInfoProto({
  1. Int64? groupId,
  2. Iterable<GroupInfoProto>? groups,
  3. Iterable<TestInfoProto>? tests,
})

Implementation

factory SuiteInfoProto({
  $fixnum.Int64? groupId,
  $core.Iterable<GroupInfoProto>? groups,
  $core.Iterable<TestInfoProto>? tests,
}) {
  final _result = create();
  if (groupId != null) {
    _result.groupId = groupId;
  }
  if (groups != null) {
    _result.groups.addAll(groups);
  }
  if (tests != null) {
    _result.tests.addAll(tests);
  }
  return _result;
}