getStoreByKey function

Future<String?> getStoreByKey(
  1. String k
)

Implementation

Future<String?> getStoreByKey(String k) async {

  if(html.window.localStorage.containsKey("$k")){
    return html.window.localStorage['$k'];
  }

  return null;
}