unsupportedReason property

String? get unsupportedReason

If isUnsupported is true should return a reason message. This can be used in tests to show the skip reason.

Implementation

String? get unsupportedReason => isUnsupported ? 'Unsupported: $this' : null;