Function_ constructor

Function_({
  1. String? id,
  2. Timestamp? createdAt,
  3. int? replicaCount,
  4. int? upCount,
  5. Timestamp? downAt,
})

Implementation

factory Function_({
  $core.String? id,
  $2.Timestamp? createdAt,
  $core.int? replicaCount,
  $core.int? upCount,
  $2.Timestamp? downAt,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (createdAt != null) {
    _result.createdAt = createdAt;
  }
  if (replicaCount != null) {
    _result.replicaCount = replicaCount;
  }
  if (upCount != null) {
    _result.upCount = upCount;
  }
  if (downAt != null) {
    _result.downAt = downAt;
  }
  return _result;
}