MpesaC2BSimulation constructor Null safety

MpesaC2BSimulation(
  1. Mpesa mpesa,
  2. {required String phoneNumber,
  3. required double amount,
  4. String? billRefNumber,
  5. CbCommandID commandID = CbCommandID.CustomerPayBillOnline}
)

Implementation

MpesaC2BSimulation(
  this.mpesa,
  {
    required this.phoneNumber,
    required this.amount,
    this.billRefNumber,
    this.commandID = CbCommandID.CustomerPayBillOnline,
  }
);