AbiEventFragment.fromJson constructor
Creates an instance of AbiEventFragment from JSON representation.
Implementation
factory AbiEventFragment.fromJson(Map<String, dynamic> json, bool tronTypes) {
final List<dynamic> inputs = json["inputs"] ?? [];
return AbiEventFragment(
name: json["name"] ?? "",
anonymous: json["anonymous"],
inputs:
inputs.map((e) => AbiParameter.fromJson(e, tronTypes)).toList());
}