modifyProps method

  1. @override
void modifyProps(
  1. PropsModifier? modifier, [
  2. bool shouldModify = true
])
override

Allows modifier to alter the instance if shouldModify is true.

Is a noop if shouldModify is false or modifier is null.

Related: addProps

Implementation

@override
void modifyProps(PropsModifier? modifier, [bool shouldModify = true]) =>
    throw UnimplementedError('@PropsMixin instances do not implement modifyProps');