$getProperty method

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

Get a property by identifier on this instance

Implementation

@override
$Value? $getProperty(Runtime runtime, String identifier) {
  switch (identifier) {
    case 'create':
      return _create;
    case 'createSync':
      return _createSync;
    case 'rename':
      return _rename;
    case 'renameSync':
      return _renameSync;
    case 'list':
      return _list;
    case 'listSync':
      return _listSync;
  }
  return _superclass.$getProperty(runtime, identifier);
}