MeSHDataLiteralNode constructor

MeSHDataLiteralNode({
  1. required String uuid,
  2. required String value,
  3. required String dataType,
  4. required String languageTag,
})

Implementation

MeSHDataLiteralNode({
  required String uuid,
  required this.value,
  required this.dataType,
  required this.languageTag,
}) : super(
        uuid: uuid,
        meSHDataNodeType: MeSHDataNodeType.literal,
        properties: {
          "uuid": uuid,
          "value": value,
          "dataType": dataType,
          "languageTag": languageTag,
        },
        labelProperty: "value",
        urlProperty: null,
      );