get static method

Future<String> get()

Implementation

static Future<String> get() async {
  SharedPreferences share = await SharedPreferences.getInstance();

  return share.getString('customerId') ?? "There is no saved customer";
}