Source constructor Null safety

Source(
  1. {required String accountNumber,
  2. required double amount,
  3. required String narration,
  4. required String responseCode,
  5. required String responseDescription,
  6. required String transactionCurrency}
)

Implementation

Source({
  required this.accountNumber, required this.amount, required this.narration,
  required this.responseCode, required this.responseDescription, required this.transactionCurrency
});