getEvaluation method

Future<Result<Evaluation>> getEvaluation(
  1. String featureId
)

Implementation

Future<Result<Evaluation>> getEvaluation(String featureId) async {
  return _resultGuard<Evaluation>(
      await _invokeMethod('getEvaluation', argument: {
        'featureId': featureId,
      }), onDataChange: (response) {
    return Evaluation(
      id: response['id'],
      featureId: response['featureId'],
      featureVersion: response['featureVersion'],
      userId: response['userId'],
      variationId: response['variationId'],
      variationValue: response['variationValue'],
      reason: response['reason'],
    );
  });
}