getSetsFromJson function
Finds the order of the token sets in the input json
Implementation
List<String> getSetsFromJson(Map<String, dynamic> input) {
return (input['\$metadata']?['tokenSetOrder'] as List? ?? [])
.map((e) => e.toString())
.toList();
}