cake_wallet/cw_core/lib/balance.dart

19 lines
572 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-13 18:49:03 +00:00
String get formattedFullAvailableBalance => '';
String get formattedFullUnAvailableBalance => '';
}