NON_SYNC_FACTORY constant

CompileTimeErrorCode const NON_SYNC_FACTORY

Implementation

static const CompileTimeErrorCode NON_SYNC_FACTORY = CompileTimeErrorCode(
    'NON_SYNC_FACTORY',
    "Factory bodies can't use 'async', 'async*', or 'sync*'.")