nameAt method

String? nameAt(
  1. int index
)

Name operand at position index (with the slash), when there is one.

Implementation

String? nameAt(int index) {
  if (index < 0 || index >= operands.length) return null;
  final value = operands[index];
  return value is PdfContentName ? value.value : null;
}