find method

TlvList? find(
  1. int tag
)

Implementation

TlvList? find(int tag) {
  final List<TlvMsg> matches = tags.where((TlvMsg item) => item.tag == tag).toList();
  return matches.isEmpty ? null : TlvList(matches);
}