addInputEntry method

void addInputEntry(
  1. int index,
  2. PsbtKeyValue entry
)

Implementation

void addInputEntry(int index, PsbtKeyValue entry) {
  _ensureSections();
  final sectionIndex = 1 + index;
  if (sectionIndex < _sections.length) {
    _sections[sectionIndex].add(entry);
  }
}