onResonse method
Converts a dynamic response to the generic type T
.
Implementation
@override
ReverseTwitterRegistryAccount? onResonse(result) {
if (result == null) return null;
final accountInfo = SolanaAccountInfo.fromJson(result);
return ReverseTwitterRegistryAccount.fromAccountBytes(
accountInfo.toBytesData());
}