$getProperty method

  1. @override
$Value? $getProperty(
  1. Runtime runtime,
  2. String identifier
)

Get a property by identifier on this instance

Implementation

@override
$Value? $getProperty(Runtime runtime, String identifier) {
  switch (identifier) {
    case 'head':
      return __head;

    case 'get':
      return __get;

    case 'post':
      return __post;

    case 'put':
      return __put;

    case 'patch':
      return __patch;

    case 'delete':
      return __delete;

    case 'read':
      return __read;

    case 'readBytes':
      return __readBytes;

    case 'send':
      return __send;

    case 'close':
      return __close;
  }
  return _superclass.$getProperty(runtime, identifier);
}