MySharedPref constructor

MySharedPref({
  1. required SharedPreferences sharedPref,
})

Implementation

MySharedPref({ required this.sharedPref  });