apply method
Apply content update
Returns
- GemError.success on success
- GemError.upToDate if content has already been updated
- GemError.invalidated if update operation hasn't been started
- GemError.io if the update cannot be applied or an error related to files has occurred
Throws
- An exception if it fails.
Implementation
GemError apply() {
final OperationResult resultString = objectMethod(
_pointerId,
'ContentUpdater',
'apply',
);
return GemErrorExtension.fromCode(resultString['result']);
}