INSTANCE_MEMBER_ACCESS_FROM_FACTORY constant

CompileTimeErrorCode const INSTANCE_MEMBER_ACCESS_FROM_FACTORY

No parameters.

Implementation

static const CompileTimeErrorCode INSTANCE_MEMBER_ACCESS_FROM_FACTORY =
    CompileTimeErrorCode('INSTANCE_MEMBER_ACCESS_FROM_FACTORY',
        "Instance members can't be accessed from a factory constructor.",
        correction: "Try removing the reference to the instance member.",
        hasPublishedDocs: true)