putIfAbsent method
dynamic
putIfAbsent(
- dynamic key,
- dynamic ifAbsent()
Implementation
putIfAbsent(key, Function() ifAbsent) {
return stateData.putIfAbsent(key, ifAbsent);
}