AnyValue constructor

AnyValue([
  1. dynamic value
])

Creates a new instance of the object and assigns its value.

  • value (optional) value to initialize this object.

Implementation

AnyValue([value]) {
  if (value is AnyValue) {
    _value = value._value;
  } else {
    _value = value;
  }
}