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