setInt abstract method

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

Method to set int value to the storage, value can be null according to the support by underlying storage system.

Example code(SharedPreferences Implementation): /// ```dart Future

Implementation

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