saveToken method

Future<void> saveToken(
  1. String token
)

Implementation

Future<void> saveToken(String token) async {
  SharedPreferences sharedPreferences = await SharedPreferences.getInstance();
  sharedPreferences.setString("dd_gql_token", token);
}