Era constructor

Era({
  1. Int64? blockNumber,
  2. Int64? period,
})

Implementation

factory Era({
  $fixnum.Int64? blockNumber,
  $fixnum.Int64? period,
}) {
  final _result = create();
  if (blockNumber != null) {
    _result.blockNumber = blockNumber;
  }
  if (period != null) {
    _result.period = period;
  }
  return _result;
}