addRecord method

  1. @override
void addRecord(
  1. NDEFRecord record
)
override

Implementation

@override
void addRecord(NDEFRecord record) {
  if (record is AlternativeCarrierRecord) {
    alternativeCarrierRecordList.add(record);
  } else if (record is CollisionResolutionRecord) {
    collisionResolutionRecordList.add(record);
  } else {
    unknownRecordList.add(record);
  }
}