toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      ApiXmlElement.word.name: word,
      ApiXmlElement.linkType.name: linkType,
      if (linkTargetCode != null)
        ApiXmlElement.linkTargetCode.name: linkTargetCode,
      if (link != null) ApiXmlElement.link.name: link,
    };