Account constructor

Account(
  1. {@required String id,
  2. @required String name,
  3. @required double balance,
  4. @required double moneyBalance,
  5. @required double pointBalance,
  6. @required bool isSuspended,
  7. @required PrivateMoney privateMoney,
  8. DateTime nearestExpiresAt}
)

Implementation

Account({
  @required this.id,
  @required this.name,
  @required this.balance,
  @required this.moneyBalance,
  @required this.pointBalance,
  @required this.isSuspended,
  @required this.privateMoney,
  this.nearestExpiresAt,
});