format method

String format(
  1. Reference reference
)

Formats reference according to this formatter's options.

Implementation

String format(Reference reference) => switch (reference) {
      VerseRef() => _formatVerse(reference),
      VerseRangeRef() => _formatRange(reference),
    };