INVALID_CAST_METHOD constant

StrongModeCode const INVALID_CAST_METHOD

Implementation

static const StrongModeCode INVALID_CAST_METHOD = StrongModeCode(
    ErrorType.COMPILE_TIME_ERROR,
    'INVALID_CAST_METHOD',
    "The method tear-off '{0}' has type '{1}' that isn't of expected type "
        "'{2}'. This means its parameter or return type doesn't match what "
        "is expected.")