CheckedModeCompileTimeErrorCode constructor

const CheckedModeCompileTimeErrorCode(String name, { String message, { String correction, bool hasPublishedDocs })

Initialize a newly created error code to have the given name. The message associated with the error will be created from the given message template. The correction associated with the error will be created from the given correction template.

Implementation

const CheckedModeCompileTimeErrorCode(String name, String message,
    {String correction, bool hasPublishedDocs})
    : super.temporary(name, message,
          correction: correction, hasPublishedDocs: hasPublishedDocs);