TransactionPartner.other constructor
- @Assert.new('type == TransactionPartnerType.other', 'type must be TransactionPartnerType.other')
- @JsonKey.new(name: 'type') @Default.new(TransactionPartnerType.other) TransactionPartnerType type,
Represents a transaction with an unknown source or recipient
Implementation
@Assert(
'type == TransactionPartnerType.other',
'type must be TransactionPartnerType.other',
)
const factory TransactionPartner.other({
/// Type of the transaction partner, must be "other"
@JsonKey(name: 'type')
@Default(TransactionPartnerType.other)
TransactionPartnerType type,
}) = TransactionPartnerOther;