File constructor
File({})
Implementation
factory File({
$core.String? name,
$2.Timestamp? createdAt,
$core.String? url,
$core.String? contentType,
$core.String? path,
$4.Duration? duration,
$fixnum.Int64? size,
$core.List<$core.int>? data,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (url != null) {
_result.url = url;
}
if (contentType != null) {
_result.contentType = contentType;
}
if (path != null) {
_result.path = path;
}
if (duration != null) {
_result.duration = duration;
}
if (size != null) {
_result.size = size;
}
if (data != null) {
_result.data = data;
}
return _result;
}