DEFAULT_LIST_CONSTRUCTOR constant

CompileTimeErrorCode const DEFAULT_LIST_CONSTRUCTOR

No parameters.

Implementation

static const CompileTimeErrorCode DEFAULT_LIST_CONSTRUCTOR =
    CompileTimeErrorCode('DEFAULT_LIST_CONSTRUCTOR',
        "Calling the default 'List' constructor causes an error.",
        correction: "Try using a list literal, 'List.filled' or "
            "'List.generate'.")