Evidence constructor
Evidence({
- EvidenceType? type,
- Validator? validator,
- Int64? height,
- Timestamp? time,
- Int64? totalVotingPower,
Implementation
factory Evidence({
EvidenceType? type,
Validator? validator,
$fixnum.Int64? height,
$1.Timestamp? time,
$fixnum.Int64? totalVotingPower,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (validator != null) {
_result.validator = validator;
}
if (height != null) {
_result.height = height;
}
if (time != null) {
_result.time = time;
}
if (totalVotingPower != null) {
_result.totalVotingPower = totalVotingPower;
}
return _result;
}