addProp method
Adds an arbitrary propKey
/value
pair if shouldAdd
is true
.
Is a noop if shouldAdd
is false
.
Related: addProps
Implementation
@override
void addProp(propKey, value, [bool shouldAdd = true]) =>
throw UnimplementedError('@PropsMixin instances do not implement addProp');