TOP_LEVEL_INSTANCE_GETTER constant

StrongModeCode const TOP_LEVEL_INSTANCE_GETTER

Implementation

static const StrongModeCode TOP_LEVEL_INSTANCE_GETTER = StrongModeCode(
    ErrorType.STATIC_WARNING,
    'TOP_LEVEL_INSTANCE_GETTER',
    "The type of '{0}' can't be inferred because it refers to an instance "
        "getter, '{1}', which has an implicit type.",
    correction: "Add an explicit type for either '{0}' or '{1}'.")