body property

String? body

Implementation

String? get body => children
    .firstWhereOrNull((child) => (child.name == 'body' && child.attributes.isEmpty))
    ?.textValue;
void body=(String? value)

Implementation

set body(String? value) {
  var element = XmppElement();
  element.name = 'body';
  element.textValue = value;
  addChild(element);
}