SHARED_DEFERRED_PREFIX constant

CompileTimeErrorCode const SHARED_DEFERRED_PREFIX

14.1 Imports: It is a compile-time error if a prefix used in a deferred import is used in another import clause.

Implementation

static const CompileTimeErrorCode SHARED_DEFERRED_PREFIX =
    CompileTimeErrorCode(
        'SHARED_DEFERRED_PREFIX',
        "The prefix of a deferred import can't be used in other import "
            "directives.",
        correction: "Try renaming one of the prefixes.")