toJson method
Convert the SmartContractBABIEntryParam object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {"type": type, "indexed": indexed, "name": name}
..removeWhere((key, value) => value == null);
}