HeadSyncResult constructor
HeadSyncResult({
- List<
int> ? hash, - Iterable<
HeadSyncResultElement> ? elements, - int? count,
Implementation
factory HeadSyncResult({
$core.List<$core.int>? hash,
$core.Iterable<HeadSyncResultElement>? elements,
$core.int? count,
}) {
final result = create();
if (hash != null) result.hash = hash;
if (elements != null) result.elements.addAll(elements);
if (count != null) result.count = count;
return result;
}