getTextPlainPart method Null safety

PartBuilder? getTextPlainPart()

Retrieves the first builder with a text/plain part.

Note that only this builder and direct children are queried.

Implementation

PartBuilder? getTextPlainPart() {
  return getPart(MediaSubtype.textPlain);
}