askForStarRating static method

Future<String?> askForStarRating()

Implementation

static Future<String?> askForStarRating() async {
  if (!_instance._countlyState.isInitialized) {
    String message = '"initWithConfig" must be called before "askForStarRating"';
    log('askForStarRating, $message', logLevel: LogLevel.ERROR);
    return message;
  }
  log('Calling "askForStarRating"');
  final String? result = await _channel.invokeMethod('askForStarRating');

  return result;
}