initIntrinsic method

void initIntrinsic({
  1. bool baseObject = true,
  2. bool bigDecimal = true,
  3. bool bigFloat = true,
  4. bool bigInt = true,
  5. bool date = true,
  6. bool eval = true,
  7. bool json = true,
  8. bool mapSet = true,
  9. bool operators = true,
  10. bool promise = true,
  11. bool proxy = true,
  12. bool regexp = true,
  13. bool regexpCompiler = true,
  14. bool stringNormalize = true,
  15. bool typedArrays = true,
})

Implementation

void initIntrinsic({
  bool baseObject = true,
  bool bigDecimal = true,
  bool bigFloat = true,
  bool bigInt = true,
  bool date = true,
  bool eval = true,
  bool json = true,
  bool mapSet = true,
  bool operators = true,
  bool promise = true,
  bool proxy = true,
  bool regexp = true,
  bool regexpCompiler = true,
  bool stringNormalize = true,
  bool typedArrays = true,
}) {
  if (baseObject) {
    addIntrinsicBaseObjects();
  }
  if (bigDecimal) {
    addIntrinsicBigDecimal();
  }
  if (bigFloat) {
    addIntrinsicBigFloat();
  }
  if (bigInt) {
    addIntrinsicBigInt();
  }
  if (date) {
    addIntrinsicDate();
  }
  if (eval) {
    addIntrinsicEval();
  }
  if (json) {
    addIntrinsicJSON();
  }
  if (mapSet) {
    addIntrinsicMapSet();
  }
  if (operators) {
    addIntrinsicOperators();
  }
  if (promise) {
    addIntrinsicPromise();
  }
  if (proxy) {
    addIntrinsicProxy();
  }
  if (regexp) {
    addIntrinsicRegExp();
  }
  if (regexpCompiler) {
    addIntrinsicRegExpCompiler();
  }
  if (stringNormalize) {
    addIntrinsicStringNormalize();
  }
  if (typedArrays) {
    addIntrinsicTypedArrays();
  }
}