Cashtray class

Annotations
  • @JsonSerializable.new()

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
final
attempt → CashtrayAttempt?
final
canceledAt → DateTime?
final
description → String
final
expiresAt → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
privateMoney → PrivateMoney
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → String
final
transaction → UserTransaction?
final
user → User
final

Methods

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

Operators

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