CreatedOrderModel constructor

CreatedOrderModel(
  1. {@required String orderId,
  2. @required String name,
  3. @required String email,
  4. @required String phone,
  5. @required String amount}
)

Implementation

CreatedOrderModel({
  @required this.orderId,
  @required this.name,
  @required this.email,
  @required this.phone,
  @required this.amount,
});