fix(compiler): fix a dart analyzer warning