11 lines
246 B
Dart
11 lines
246 B
Dart
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
||
|
|
||
|
part 'state.freezed.dart';
|
||
|
|
||
|
@freezed
|
||
|
abstract class ExampleState with _$ExampleState {
|
||
|
const factory ExampleState.loading() = Loading;
|
||
|
|
||
|
const factory ExampleState.data() = Data;
|
||
|
}
|