cake_wallet/cw_core/lib/balance.dart

18 lines
543 B
Dart
Raw Normal View History

abstract class Balance {
2024-09-12 18:36:29 +00:00
const Balance(this.available, this.additional, {this.secondAvailable, this.secondAdditional});
final int available;
final int additional;
2024-09-12 18:36:29 +00:00
final int? secondAvailable;
final int? secondAdditional;
2024-09-12 18:36:29 +00:00
String get formattedAvailableBalance;
String get formattedAdditionalBalance;
String get formattedUnAvailableBalance => '';
2024-09-12 18:36:29 +00:00
String get formattedSecondAvailableBalance => '';
String get formattedSecondAdditionalBalance => '';
2024-09-24 23:33:34 +00:00
String get formattedFullAvailableBalance => formattedAvailableBalance;
}