saveIfNull function

void saveIfNull(
  1. String key,
  2. dynamic value
)

Implementation

void saveIfNull(String key, value) {
  final curstore = store[currentStore];
  if (curstore.containsKey(key) && curstore[key] != null) {
    return;
  }
  save(key, value);
}