Aggregate constructor

Aggregate({
  1. int? i,
  2. String? s,
  3. Aggregate? sub,
  4. FileOptions? file,
  5. AggregateMessageSet? mset,
  6. Any? any,
})

Implementation

factory Aggregate({
  $core.int? i,
  $core.String? s,
  Aggregate? sub,
  $16.FileOptions? file,
  AggregateMessageSet? mset,
  $3.Any? any,
}) {
  final _result = create();
  if (i != null) {
    _result.i = i;
  }
  if (s != null) {
    _result.s = s;
  }
  if (sub != null) {
    _result.sub = sub;
  }
  if (file != null) {
    _result.file = file;
  }
  if (mset != null) {
    _result.mset = mset;
  }
  if (any != null) {
    _result.any = any;
  }
  return _result;
}