syncState method
Returns the state of the syncing of the node: starting block, current best block, highest known block.
Implementation
Future<SyncState> syncState() async {
final response = await _provider.send('system_syncState', []);
final data = response.result as Map<String, dynamic>;
return SyncState.fromJson(data);
}