BlockchainInfo constructor

BlockchainInfo({
  1. List<int>? tipHash,
  2. int? tipHeight,
})

Implementation

factory BlockchainInfo({
  $core.List<$core.int>? tipHash,
  $core.int? tipHeight,
}) {
  final result = create();
  if (tipHash != null) result.tipHash = tipHash;
  if (tipHeight != null) result.tipHeight = tipHeight;
  return result;
}