Stake constructor

Stake({
  1. List<int>? stake,
  2. PublicKey? publicKey,
})

Implementation

factory Stake({
  $core.List<$core.int>? stake,
  PublicKey? publicKey,
}) {
  final _result = create();
  if (stake != null) {
    _result.stake = stake;
  }
  if (publicKey != null) {
    _result.publicKey = publicKey;
  }
  return _result;
}