getLowestIdFunction static method
- List results
Implementation
static ExternalContractFunction? getLowestIdFunction(List<dynamic> results) {
results.sort((a, b) => a["id"].compareTo(b["id"]));
for (final {
"id": int _,
"created_at": _,
"text_signature": String text_signature,
"hex_signature": _,
"bytes_signature": _,
} in results) {
return ContractFunction.fromTextSignature(
textSignature: text_signature,
);
}
return null;
}