VARIABLE_TYPE_MISMATCH constant

CheckedModeCompileTimeErrorCode const VARIABLE_TYPE_MISMATCH

Parameters: 0: the type of the object being assigned. 1: the type of the variable being assigned to

Implementation

static const CheckedModeCompileTimeErrorCode VARIABLE_TYPE_MISMATCH =
    CheckedModeCompileTimeErrorCode(
        'VARIABLE_TYPE_MISMATCH',
        "A value of type '{0}' can't be assigned to a variable of type "
            "'{1}'.",
        hasPublishedDocs: true)