requireSuccess method
status 200: Node updated
Implementation
@override
Node requireSuccess() {
if (this is NodesIdPatchResponse200) {
return (this as NodesIdPatchResponse200).body;
} else {
throw StateError('Expected success response, but got $this');
}
}