APIKey constructor

APIKey({
  1. String? id,
  2. String? key,
  3. String? name,
  4. Timestamp? createdOn,
})

Implementation

factory APIKey({
  $core.String? id,
  $core.String? key,
  $core.String? name,
  $44.Timestamp? createdOn,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (key != null) {
    $result.key = key;
  }
  if (name != null) {
    $result.name = name;
  }
  if (createdOn != null) {
    $result.createdOn = createdOn;
  }
  return $result;
}