$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 'prefixLineOne':
      final _prefixLineOne = $value.prefixLineOne;
      return $String(_prefixLineOne);

    case 'suffixLineOne':
      final _suffixLineOne = $value.suffixLineOne;
      return $String(_suffixLineOne);

    case 'prefixOtherLines':
      final _prefixOtherLines = $value.prefixOtherLines;
      return $String(_prefixOtherLines);

    case 'prefixLastChildLineOne':
      final _prefixLastChildLineOne = $value.prefixLastChildLineOne;
      return $String(_prefixLastChildLineOne);

    case 'prefixOtherLinesRootNode':
      final _prefixOtherLinesRootNode = $value.prefixOtherLinesRootNode;
      return $String(_prefixOtherLinesRootNode);

    case 'propertyPrefixIfChildren':
      final _propertyPrefixIfChildren = $value.propertyPrefixIfChildren;
      return $String(_propertyPrefixIfChildren);

    case 'propertyPrefixNoChildren':
      final _propertyPrefixNoChildren = $value.propertyPrefixNoChildren;
      return $String(_propertyPrefixNoChildren);

    case 'linkCharacter':
      final _linkCharacter = $value.linkCharacter;
      return $String(_linkCharacter);

    case 'childLinkSpace':
      final _childLinkSpace = $value.childLinkSpace;
      return $String(_childLinkSpace);

    case 'lineBreak':
      final _lineBreak = $value.lineBreak;
      return $String(_lineBreak);

    case 'lineBreakProperties':
      final _lineBreakProperties = $value.lineBreakProperties;
      return $bool(_lineBreakProperties);

    case 'beforeName':
      final _beforeName = $value.beforeName;
      return $String(_beforeName);

    case 'afterName':
      final _afterName = $value.afterName;
      return $String(_afterName);

    case 'afterDescriptionIfBody':
      final _afterDescriptionIfBody = $value.afterDescriptionIfBody;
      return $String(_afterDescriptionIfBody);

    case 'afterDescription':
      final _afterDescription = $value.afterDescription;
      return $String(_afterDescription);

    case 'beforeProperties':
      final _beforeProperties = $value.beforeProperties;
      return $String(_beforeProperties);

    case 'afterProperties':
      final _afterProperties = $value.afterProperties;
      return $String(_afterProperties);

    case 'mandatoryAfterProperties':
      final _mandatoryAfterProperties = $value.mandatoryAfterProperties;
      return $String(_mandatoryAfterProperties);

    case 'propertySeparator':
      final _propertySeparator = $value.propertySeparator;
      return $String(_propertySeparator);

    case 'bodyIndent':
      final _bodyIndent = $value.bodyIndent;
      return $String(_bodyIndent);

    case 'showChildren':
      final _showChildren = $value.showChildren;
      return $bool(_showChildren);

    case 'addBlankLineIfNoChildren':
      final _addBlankLineIfNoChildren = $value.addBlankLineIfNoChildren;
      return $bool(_addBlankLineIfNoChildren);

    case 'isNameOnOwnLine':
      final _isNameOnOwnLine = $value.isNameOnOwnLine;
      return $bool(_isNameOnOwnLine);

    case 'footer':
      final _footer = $value.footer;
      return $String(_footer);

    case 'mandatoryFooter':
      final _mandatoryFooter = $value.mandatoryFooter;
      return $String(_mandatoryFooter);

    case 'isBlankLineBetweenPropertiesAndChildren':
      final _isBlankLineBetweenPropertiesAndChildren =
          $value.isBlankLineBetweenPropertiesAndChildren;
      return $bool(_isBlankLineBetweenPropertiesAndChildren);
  }
  return _superclass.$getProperty(runtime, identifier);
}