UserTransaction class

Inheritance
Annotations

Constructors

UserTransaction({@required String id, @required String type, @required bool isModified, @required User user, @required double balance, @required double amount, @required double moneyAmount, @required double pointAmount, @required Account account, @required String description, @required DateTime doneAt, double customerBalance})
UserTransaction.fromJson(Map<String, dynamic> json)
factory

Properties

account Account
@JsonKey(nullable: false), final
amount double
@JsonKey(nullable: false), final
balance double
@JsonKey(nullable: false), final
customerBalance double
final
description String
@JsonKey(nullable: false), final
doneAt DateTime
@JsonKey(nullable: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
@JsonKey(nullable: false), final
isModified bool
@JsonKey(nullable: false), final
moneyAmount double
@JsonKey(nullable: false), final
pointAmount double
@JsonKey(nullable: false), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
@JsonKey(nullable: false), final
user User
@JsonKey(nullable: false), final

Methods

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

Operators

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