22 lines
427 B
Dart
22 lines
427 B
Dart
import 'package:copy_with_extension/copy_with_extension.dart';
|
|
import 'package:equatable/equatable.dart';
|
|
|
|
part 'currency_state.g.dart';
|
|
|
|
@CopyWith()
|
|
class CurrencyState extends Equatable {
|
|
final String? currencyId;
|
|
final bool hasCurrencyLoaded;
|
|
|
|
const CurrencyState({
|
|
this.currencyId,
|
|
this.hasCurrencyLoaded = false
|
|
});
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
currencyId,
|
|
hasCurrencyLoaded,
|
|
];
|
|
}
|