ActiveStaker constructor

ActiveStaker({
  1. StakingRegistration? registration,
  2. Int128? quantity,
})

Implementation

factory ActiveStaker({
  StakingRegistration? registration,
  $4.Int128? quantity,
}) {
  final _result = create();
  if (registration != null) {
    _result.registration = registration;
  }
  if (quantity != null) {
    _result.quantity = quantity;
  }
  return _result;
}