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;
}