nodeRoles method

Future<List<String>> nodeRoles()

Returns the roles the node is running as.

Implementation

Future<List<String>> nodeRoles() async {
  final response = await _provider.send('system_nodeRoles', []);
  return (response.result as List).cast<String>().toList();
}