increment method

  1. @Deprecated('Prefer to use the setIncrement() method in save()')
Future<ParseResponse> increment(
  1. String key,
  2. num amount
)
@Deprecated('Prefer to use the setIncrement() method in save()')

Increases a num of an object by x amount

Implementation

@Deprecated('Prefer to use the setIncrement() method in save()')
Future<ParseResponse> increment(String key, num amount) async {
  if (key != null) {
    return await _increment(ParseApiRQ.increment, 'Increment', key, amount);
  } else {
    return null;
  }
}