getLogs method
Implementation
Future<List<Map<String, dynamic>>> getLogs(
Map<String, dynamic> filter) async {
final result = await _rpc('eth_getLogs', [filter]);
return (result as List)
.map((e) => Map<String, dynamic>.from(e as Map))
.toList();
}