saveAccountToCache method

Future saveAccountToCache(
  1. Account account
)

This should not be called, it is used to cache the account locally

Implementation

Future saveAccountToCache(Account account) async {
  var data = account.toJson();
  var json = Convert.jsonEncode(data);
  await _authStorage.write(key: identifier, value: json);
}