getEvaluation method
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'],
);
});
}