ProtoPredefinedState_Identity constructor
ProtoPredefinedState_Identity({
- List<
int> ? address, - List<
int> ? stake, - int? invites,
- int? birthday,
- int? state,
- int? qualifiedFlips,
- int? shortFlipPoints,
- List<
int> ? pubKey, - int? requiredFlips,
- Iterable<
ProtoPredefinedState_Identity_Flip> ? flips, - int? generation,
- List<
int> ? code, - Iterable<
ProtoPredefinedState_Identity_TxAddr> ? invitees, - ProtoPredefinedState_Identity_TxAddr? inviter,
- List<
int> ? penalty, - int? validationBits,
- int? validationStatus,
- List<
int> ? profileHash, - List<
int> ? scores,
Implementation
factory ProtoPredefinedState_Identity({
$core.List<$core.int>? address,
$core.List<$core.int>? stake,
$core.int? invites,
$core.int? birthday,
$core.int? state,
$core.int? qualifiedFlips,
$core.int? shortFlipPoints,
$core.List<$core.int>? pubKey,
$core.int? requiredFlips,
$core.Iterable<ProtoPredefinedState_Identity_Flip>? flips,
$core.int? generation,
$core.List<$core.int>? code,
$core.Iterable<ProtoPredefinedState_Identity_TxAddr>? invitees,
ProtoPredefinedState_Identity_TxAddr? inviter,
$core.List<$core.int>? penalty,
$core.int? validationBits,
$core.int? validationStatus,
$core.List<$core.int>? profileHash,
$core.List<$core.int>? scores,
}) {
final _result = create();
if (address != null) {
_result.address = address;
}
if (stake != null) {
_result.stake = stake;
}
if (invites != null) {
_result.invites = invites;
}
if (birthday != null) {
_result.birthday = birthday;
}
if (state != null) {
_result.state = state;
}
if (qualifiedFlips != null) {
_result.qualifiedFlips = qualifiedFlips;
}
if (shortFlipPoints != null) {
_result.shortFlipPoints = shortFlipPoints;
}
if (pubKey != null) {
_result.pubKey = pubKey;
}
if (requiredFlips != null) {
_result.requiredFlips = requiredFlips;
}
if (flips != null) {
_result.flips.addAll(flips);
}
if (generation != null) {
_result.generation = generation;
}
if (code != null) {
_result.code = code;
}
if (invitees != null) {
_result.invitees.addAll(invitees);
}
if (inviter != null) {
_result.inviter = inviter;
}
if (penalty != null) {
_result.penalty = penalty;
}
if (validationBits != null) {
_result.validationBits = validationBits;
}
if (validationStatus != null) {
_result.validationStatus = validationStatus;
}
if (profileHash != null) {
_result.profileHash = profileHash;
}
if (scores != null) {
_result.scores = scores;
}
return _result;
}