saveUpAccount static method

Future<bool?> saveUpAccount(
  1. UpAccount account
)

Implementation

static Future<bool?> saveUpAccount(UpAccount account) async {
  final value = account.toString();
  return await prefs.setString(upAccountKey, value);
}