Bank constructor

const Bank({
  1. required String id,
  2. required String name,
  3. String? swiftCode,
  4. String? sortCodePrefix,
  5. required List<BankBranch> branches,
})

Implementation

const Bank({
  required this.id,
  required this.name,
  this.swiftCode,
  this.sortCodePrefix,
  required this.branches,
});