onResonse method
Converts a dynamic response to the generic type T
.
Implementation
@override
List<SolanaAccountInfo> onResonse(result) {
return (result as List)
.map((e) => SolanaAccountInfo.fromJson(e["account"]))
.toList();
}
Converts a dynamic response to the generic type T
.
@override
List<SolanaAccountInfo> onResonse(result) {
return (result as List)
.map((e) => SolanaAccountInfo.fromJson(e["account"]))
.toList();
}