DataElement.fromString constructor

DataElement.fromString(
  1. int type,
  2. String valueString
)

Implementation

DataElement.fromString(this.type, String valueString) {
  value = utf8.encode(valueString) as Uint8List;
}