checkParams method

  1. @override
bool checkParams()
override

Checks whether all params required by the verb builder are set. Returns false if required params are not set.

Implementation

@override
bool checkParams() {
  var isValid = true;
  if ((atKey.key.isEmpty || value == null) ||
      (atKey.metadata.isPublic == true && atKey.sharedWith != null)) {
    isValid = false;
  }
  return isValid;
}