byteLength property

int byteLength

The length in bytes of the NDEF message when stored on the tag.

Implementation

int get byteLength => records.isEmpty
    ? 0
    : records.map((e) => e.byteLength).reduce((a, b) => a + b);