getMotherNameFromLocalStorage method

Future<String?> getMotherNameFromLocalStorage()

Implementation

Future<String?> getMotherNameFromLocalStorage() async {
  SharedPreferences prefs = await SharedPreferences.getInstance();
  String? value = prefs.getString(motherNameKey);
  return value;
}