Cashtray class

Inheritance
Annotations

Constructors

Cashtray({@required String id, @required double amount, @required String description, @required User user, @required PrivateMoney privateMoney, @required DateTime expiresAt, DateTime canceledAt, @required String token, CashtrayAttempt attempt, UserTransaction transaction})
Cashtray.fromJson(Map<String, dynamic> json)
factory

Properties

amount double
@JsonKey(nullable: false), final
attempt CashtrayAttempt
final
canceledAt DateTime
final
description String
@JsonKey(nullable: false), final
expiresAt DateTime
@JsonKey(nullable: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
@JsonKey(nullable: false), final
privateMoney PrivateMoney
@JsonKey(nullable: false), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
@JsonKey(nullable: false), final
transaction UserTransaction
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