saveMax abstract method

Future<void> saveMax(
  1. String key,
  2. int value
)

Save maximal value between existing and provided. String key - property name to check for max int value - value to check for max

Implementation

Future<void> saveMax(String key, int value);