chain method

Future<String> chain()

Get the chain's name. Given as a string identifier.

Implementation

Future<String> chain() async {
  final response = await _provider.send('system_chain', []);
  return response.result as String;
}