Store constructor

Store({
  1. String? key,
  2. String? name,
  3. Iterable<String>? tags,
  4. String? ownerId,
  5. Timestamp? createdAt,
  6. Timestamp? updatedAt,
})

Implementation

factory Store({
  $core.String? key,
  $core.String? name,
  $core.Iterable<$core.String>? tags,
  $core.String? ownerId,
  $2.Timestamp? createdAt,
  $2.Timestamp? updatedAt,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (name != null) {
    _result.name = name;
  }
  if (tags != null) {
    _result.tags.addAll(tags);
  }
  if (ownerId != null) {
    _result.ownerId = ownerId;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (updatedAt != null) {
    _result.updatedAt = updatedAt;
  }
  return _result;
}