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