CyclesNotificationResponse constructor
CyclesNotificationResponse({
- PrincipalId? createdCanisterId,
- Refund? refund,
- ToppedUp? toppedUp,
Implementation
factory CyclesNotificationResponse({
$0.PrincipalId? createdCanisterId,
Refund? refund,
ToppedUp? toppedUp,
}) {
final $result = create();
if (createdCanisterId != null) {
$result.createdCanisterId = createdCanisterId;
}
if (refund != null) {
$result.refund = refund;
}
if (toppedUp != null) {
$result.toppedUp = toppedUp;
}
return $result;
}