That’s just a String. A String is not an Item. There is no state method on a String.
See Design Pattern: Associated Items for how to get a reference to the actual Item.
That’s just a String. A String is not an Item. There is no state method on a String.
See Design Pattern: Associated Items for how to get a reference to the actual Item.