toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "productId": productId,
      "productName": productName,
      "totalAmount": totalAmount,
      "environment": environment,
      "code": code,
      "merchantName": merchantName,
      "message": message,
      "date": date,
      "status": status,
      "refId": refId,
    };