isAuthorized method

bool isAuthorized()

Implementation

bool isAuthorized() {
  Map<String, String> headers = {};
  var userAuth = getUserAuth();
  if (userAuth != null) {
    userAuth.applyToParams([], headers);
  }
  return headers.isNotEmpty;
}