storeKV function

dynamic storeKV(
  1. dynamic k,
  2. dynamic v
)

Implementation

storeKV(k, v) async {
  SharedPreferences prefs = await SharedPreferences.getInstance();
  prefs.setString(k, v);
}