toPdfTextDirection method
TextDirection
toPdfTextDirection()
Implementation
pw.TextDirection toPdfTextDirection() {
switch (this) {
case TextDirection.ltr:
return pw.TextDirection.ltr;
case TextDirection.rtl:
return pw.TextDirection.rtl;
}
}