Line data    Source code 
       1             : import 'package:redux/redux.dart';
       2             : 
       3             : import '../../../types.dart';
       4             : import '../actions/reset_auth_page_action.dart';
       5             : 
       6             : class ResetAuthPageReducer<T extends RedFireState>
       7             :     extends TypedReducer<T, ResetAuthPageAction> {
       8           1 :   ResetAuthPageReducer()
       9           2 :       : super((state, action) {
      10           2 :           return (state as dynamic).copyWith.auth(
      11             :               step: AuthStepEnum.waitingForInput,
      12           2 :               emailVM: state.auth.emailVM
      13           2 :                   .copyWith(email: null, providers: null)) as T;
      14             :         });
      15             : }
       |