Snapshot constructor
Implementation
factory Snapshot({
$fixnum.Int64? height,
$core.int? format,
$core.int? chunks,
$core.List<$core.int>? hash,
Metadata? metadata,
}) {
final _result = create();
if (height != null) {
_result.height = height;
}
if (format != null) {
_result.format = format;
}
if (chunks != null) {
_result.chunks = chunks;
}
if (hash != null) {
_result.hash = hash;
}
if (metadata != null) {
_result.metadata = metadata;
}
return _result;
}