TransactionPartner.other constructor
- @Assert('type == TransactionPartnerType.other', 'type must be TransactionPartnerType.other')
- @JsonKey(name: 'type') @Default(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;