getFeatureState method

Future<bool> getFeatureState(
  1. String featureState
)

Returns information about the feature state.

Implementation

Future<bool> getFeatureState(String featureState) async {
  var result = await _client.send('SystemInfo.getFeatureState', {
    'featureState': featureState,
  });
  return result['featureEnabled'] as bool;
}