compareAndSet method

Future<bool?> compareAndSet(
  1. String counterName,
  2. int expected,
  3. int updated
)

Implementation

Future<bool?> compareAndSet(String counterName, int expected, int updated) =>
    _channel.invokeMethod(
        "Backendless.Counters.compareAndSet", <String, dynamic>{
      "counterName": counterName,
      "expected": expected,
      "updated": updated
    });