Image constructor

Image({
  1. String? url,
  2. Timestamp? expiresAt,
  3. bool? expires,
  4. String? key,
})

Implementation

factory Image({
  $core.String? url,
  $0.Timestamp? expiresAt,
  $core.bool? expires,
  $core.String? key,
}) {
  final _result = create();
  if (url != null) {
    _result.url = url;
  }
  if (expiresAt != null) {
    _result.expiresAt = expiresAt;
  }
  if (expires != null) {
    _result.expires = expires;
  }
  if (key != null) {
    _result.key = key;
  }
  return _result;
}