ValidatorStakeInfo.fromAccountInfo constructor
ValidatorStakeInfo.fromAccountInfo(
- AccountInfo info
Implementation
factory ValidatorStakeInfo.fromAccountInfo(final AccountInfo info) {
final Uint8List buffer = base64.decode((info.data as List)[0]);
return borsh.deserialize(codec.schema, buffer, ValidatorStakeInfo.fromJson);
}