TopUp constructor

const TopUp({
  1. required BuildContext context,
  2. required int cardId,
  3. required num amount,
  4. required VoidCallback onSuccess,
})

Implementation

const factory TopUp(
    {required final BuildContext context,
    required final int cardId,
    required final num amount,
    required final VoidCallback onSuccess}) = _$TopUpImpl;