BlockInfo constructor

BlockInfo({
  1. Int64? height,
  2. String? blockId,
  3. Int64? timestamp,
})

Implementation

factory BlockInfo({
  $fixnum.Int64? height,
  $core.String? blockId,
  $fixnum.Int64? timestamp,
}) {
  final result = create();
  if (height != null) result.height = height;
  if (blockId != null) result.blockId = blockId;
  if (timestamp != null) result.timestamp = timestamp;
  return result;
}