preferences property Null safety

Future<SharedPreferences> preferences
final

Implementation

final Future<SharedPreferences> preferences = SharedPreferences.getInstance();