55310068ea
Complies to flutter/dart 'pedantic' coding standards (their name, not mine)
9 lines
268 B
Dart
9 lines
268 B
Dart
import 'package:shared_preferences/shared_preferences.dart';
|
|
import 'dart:async';
|
|
|
|
Future<String> getToken() async {
|
|
SharedPreferences preferences = await SharedPreferences.getInstance();
|
|
|
|
String getToken = preferences.getString("LastToken");
|
|
return getToken;
|
|
}
|