newId method
returns the same resource with a new ID (even if there is already an ID present)
Implementation
Resource newId() => _newId(this);
returns the same resource with a new ID (even if there is already an ID present)
Resource newId() => _newId(this);