RevenueWithdrawalState.pending constructor
- @Assert.new('type == RevenueWithdrawalStateType.pending', 'type must be RevenueWithdrawalStateType.pending')
- @JsonKey.new(name: 'type') @Default.new(RevenueWithdrawalStateType.pending) RevenueWithdrawalStateType type,
The withdrawal is in progress
Implementation
@Assert(
'type == RevenueWithdrawalStateType.pending',
'type must be RevenueWithdrawalStateType.pending',
)
const factory RevenueWithdrawalState.pending({
/// Type of the revenue withdrawal state, must be "pending"
@JsonKey(name: 'type')
@Default(RevenueWithdrawalStateType.pending)
RevenueWithdrawalStateType type,
}) = RevenueWithdrawalStatePending;