$setProperty method

  1. @override
void $setProperty(
  1. Runtime runtime,
  2. String identifier,
  3. $Value value
)

Set a property by identifier on this instance to value

Implementation

@override
void $setProperty(Runtime runtime, String identifier, $Value value) {
  switch (identifier) {
    case 'contentLength':
      $value.contentLength = value.$value;
      return;

    case 'persistentConnection':
      $value.persistentConnection = value.$value;
      return;

    case 'followRedirects':
      $value.followRedirects = value.$value;
      return;

    case 'maxRedirects':
      $value.maxRedirects = value.$value;
      return;
  }
  return _superclass.$setProperty(runtime, identifier, value);
}