newIdIfNoId method
Resource
newIdIfNoId()
inherited
returns the same resource with a new ID if there is no current ID
Implementation
Resource newIdIfNoId() => id == null ? _newId(this) : this;
returns the same resource with a new ID if there is no current ID
Resource newIdIfNoId() => id == null ? _newId(this) : this;