dart_redux_overview 0.0.6 dart_redux_overview: ^0.0.6 copied to clipboard
Renders an overview of all actions and states annotated with freezed.
example/lib/example.dart
import 'package:freezed_annotation/freezed_annotation.dart';
part 'example.freezed.dart';
@freezed
abstract class Union with _$Union {
/// An example default value.
const factory Union(int value) = Data;
/// An example loading state
///
/// This indicates leads to loading or error.
const factory Union.loading() = Loading;
const factory Union.error({String message}) = ErrorDetails;
}