getLocalAppAttributes method

AppAttributes getLocalAppAttributes()

Implementation

AppAttributes getLocalAppAttributes() {
  if (_keyValueStorageProvider != null &&
      _keyValueStorageProvider!.containsKey(_keyAppAttributes) == true) {
    final string = _keyValueStorageProvider!.get(_keyAppAttributes);
    return AppAttributes.fromJsonString(string);
  } else {
    return AppAttributes.empty;
  }
}