warningForOnPushCompatibility method

String warningForOnPushCompatibility(
  1. String name
)

What message should be used for OnPush compatibility warnings.

Implementation

String warningForOnPushCompatibility(String name) {
  return ''
      '"$name" doesn\'t use "ChangeDetectionStrategy.OnPush", but '
      'is used by a component that does. This is unsupported and unlikely '
      'to work as expected.';
}