getScoreAPIs method

Future<List<Map<String?, String?>>?> getScoreAPIs(
  1. String scoreAddress
)

Get the SCORE apis

Implementation

Future<List<Map<String?, String?>>?> getScoreAPIs(String scoreAddress) async {
  final scoreAPIs = await _channel.invokeMethod("getScoreAPIs", {
    "score_address": scoreAddress,
  });

  List<Map<String?, String?>> data = [];
  for (int i = 0; i < scoreAPIs.length; i++) {
    data.add(Map.from(scoreAPIs[i]));
  }

  return data;
}