AlternativeCarrierRecord constructor

AlternativeCarrierRecord({
  1. CarrierPowerState? carrierPowerState,
  2. Uint8List? carrierDataReference,
  3. List<Uint8List>? auxDataReferenceList,
})

Constructs an AlternativeCarrierRecord with carrier information.

Implementation

AlternativeCarrierRecord({
  CarrierPowerState? carrierPowerState,
  Uint8List? carrierDataReference,
  List<Uint8List>? auxDataReferenceList,
}) {
  if (carrierPowerState != null) {
    this.carrierPowerState = carrierPowerState;
  }
  if (carrierDataReference != null) {
    this.carrierDataReference = carrierDataReference;
  }
  this.auxDataReferenceList = auxDataReferenceList ?? <Uint8List>[];
}