M4eTransaction class

Constructors

M4eTransaction({@required M4eUniqueId id, @required M4eWallet from, @required M4eWallet to, @required M4eAmount amount, @required DateTime at, @required M4eTransactionType type, @required Map<String, dynamic> meta })
const
M4eTransaction.fromJson(Map<String, dynamic> json)
factory

Properties

amount M4eAmount
final
at DateTime
final
from M4eWallet
final
id M4eUniqueId
final
meta Map<String, dynamic>
final
props List<Object>
The list of properies that will be used to determine whether two instances are equal.
read-only
to M4eWallet
final
type M4eTransactionType
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, inherited

Methods

toJson() Map<String, dynamic>
toString() String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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