EXTENSION_AS_EXPRESSION constant

CompileTimeErrorCode const EXTENSION_AS_EXPRESSION

Parameters: 0: the name of the extension

Implementation

static const CompileTimeErrorCode EXTENSION_AS_EXPRESSION =
    CompileTimeErrorCode('EXTENSION_AS_EXPRESSION',
        "Extension '{0}' can't be used as an expression.",
        correction: "Try replacing it with a valid expression.",
        hasPublishedDocs: true)