TransactionPartner class abstract

This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of TransactionPartnerFragment, TransactionPartnerUser, TransactionPartnerOther.

Implementers

Constructors

TransactionPartner()
Creates a new TransactionPartner object from JSON.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TransactionPartnerType
Type of the transaction partner.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a TransactionPartner to a Map for JSON encoding.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) TransactionPartner
Creates a new TransactionPartner object. This method decides which TransactionPartner subclass to use based on the type field.