onResonse method

  1. @override
List<SolanaAccountInfo> onResonse(
  1. dynamic result
)
override

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();
}