addProps method

  1. @override
void addProps(
  1. Map? propMap, [
  2. bool shouldAdd = true
])
override

Adds an arbitrary propMap of arbitrary props if shouldAdd is true.

Is a noop if shouldAdd is false or propMap is null.

Related: addProp, modifyProps

Implementation

@override
void addProps(Map? propMap, [bool shouldAdd = true]) =>
    throw UnimplementedError('@PropsMixin instances do not implement addProps');