NOT_ASSIGNED_POTENTIALLY_NON_NULLABLE_LOCAL_VARIABLE constant

CompileTimeErrorCode const NOT_ASSIGNED_POTENTIALLY_NON_NULLABLE_LOCAL_VARIABLE

Parameters: 0: the name of the variable that is invalid

Implementation

NOT_ASSIGNED_POTENTIALLY_NON_NULLABLE_LOCAL_VARIABLE =
CompileTimeErrorCode(
    'NOT_ASSIGNED_POTENTIALLY_NON_NULLABLE_LOCAL_VARIABLE',
    "The non-nullable local variable '{0}' must be assigned before it "
        "can be used.",
    correction: "Try giving it an initializer expression, or ensure that "
        "it's assigned on every execution path.")