storeToken method
Write token values to Json file at specified path, defaulting to _localCache.
Operation does not update instance _localCache attribute.
Automatically called when _localCache is set post init.
Implementation
void storeToken({String? path}) {
final filePath = path ?? _localCache;
if (filePath != null) {
final file = File(filePath);
file.writeAsStringSync(asJson(), flush: true);
}
}