Aggregate constructor

Aggregate({
  1. String? id,
  2. AggregateType? type,
  3. String? resourceOwner,
})

Implementation

factory Aggregate({
  $core.String? id,
  AggregateType? type,
  $core.String? resourceOwner,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (type != null) {
    _result.type = type;
  }
  if (resourceOwner != null) {
    _result.resourceOwner = resourceOwner;
  }
  return _result;
}