getEvents method
Events
Implementation
Future<List<SuiEvent>> getEvents(String txDigest) async {
final result = await client.request('sui_getEvents', [txDigest]);
final events = (result as List).map((e) => SuiEvent.fromJson(e)).toList();
return events;
}