getIdMed static method

Future<String> getIdMed()

Implementation

static Future<String> getIdMed() async {
  SharedPreferences pref = await SharedPreferences.getInstance();
  return '${pref.getString(Key_idmed)}';
}