boolVariation method

Future<bool> boolVariation(
  1. String id,
  2. bool defaultValue
)

Performs boolean evaluation for given evaluation id. If no such id is present, the default value will be returned.

Implementation

Future<bool> boolVariation(String id, bool defaultValue) async {
  return _sendMessage(
      'boolVariation', new EvaluationRequest(id, defaultValue));
}