DelegatorStartingInfo constructor

DelegatorStartingInfo({
  1. Int64? previousPeriod,
  2. String? stake,
  3. Int64? height,
})

Implementation

factory DelegatorStartingInfo({
  $fixnum.Int64? previousPeriod,
  $core.String? stake,
  $fixnum.Int64? height,
}) {
  final _result = create();
  if (previousPeriod != null) {
    _result.previousPeriod = previousPeriod;
  }
  if (stake != null) {
    _result.stake = stake;
  }
  if (height != null) {
    _result.height = height;
  }
  return _result;
}