Account class

Inheritance
Annotations

Constructors

Account({@required String id, @required String name, @required double balance, @required double moneyBalance, @required double pointBalance, @required bool isSuspended, @required PrivateMoney privateMoney, DateTime nearestExpiresAt})
Account.fromJson(Map<String, dynamic> json)
factory

Properties

balance double
@JsonKey(nullable: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
@JsonKey(nullable: false), final
isSuspended bool
@JsonKey(nullable: false), final
moneyBalance double
@JsonKey(nullable: false), final
name String
@JsonKey(nullable: false), final
nearestExpiresAt DateTime
final
pointBalance double
@JsonKey(nullable: false), final
privateMoney PrivateMoney
@JsonKey(nullable: false), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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