HeadSyncRange constructor

HeadSyncRange({
  1. Int64? from,
  2. Int64? to,
  3. int? limit,
  4. bool? elements,
})

Implementation

factory HeadSyncRange({
  $fixnum.Int64? from,
  $fixnum.Int64? to,
  $core.int? limit,
  $core.bool? elements,
}) {
  final result = create();
  if (from != null) result.from = from;
  if (to != null) result.to = to;
  if (limit != null) result.limit = limit;
  if (elements != null) result.elements = elements;
  return result;
}