ValidatorMissedBlocks constructor

ValidatorMissedBlocks({
  1. String? address,
  2. Iterable<MissedBlock>? missedBlocks,
})

Implementation

factory ValidatorMissedBlocks({
  $core.String? address,
  $core.Iterable<MissedBlock>? missedBlocks,
}) {
  final _result = create();
  if (address != null) {
    _result.address = address;
  }
  if (missedBlocks != null) {
    _result.missedBlocks.addAll(missedBlocks);
  }
  return _result;
}