variation static method

Future<Variation> variation(
  1. int experimentKey, {
  2. @Deprecated("Use setUser(user) instead.") HackleUser? user,
})

Implementation

static Future<Variation> variation(
  int experimentKey, {
  @Deprecated("Use setUser(user) instead.") HackleUser? user,
}) {
  return HacklePlatform.instance.variation(experimentKey, user: user);
}