StakingRegistration constructor

StakingRegistration({
  1. StakingAddress? address,
  2. SignatureKesProduct? signature,
})

Implementation

factory StakingRegistration({
  StakingAddress? address,
  $3.SignatureKesProduct? signature,
}) {
  final _result = create();
  if (address != null) {
    _result.address = address;
  }
  if (signature != null) {
    _result.signature = signature;
  }
  return _result;
}