Blame view

lib/pages/section/bloc/section_state.dart 503 Bytes
2187c85f   吴启风   feat:课程结构调整
1
  part of 'section_bloc.dart';
60e47f7c   liangchengyou   feat:课程选择功能
2
3
  
  @immutable
2187c85f   吴启风   feat:课程结构调整
4
  abstract class SectionState {}
60e47f7c   liangchengyou   feat:课程选择功能
5
  
2187c85f   吴启风   feat:课程结构调整
6
  class LessonInitial extends SectionState {}
13e6d11d   liangchengyou   feat:首页课程模块接口
7
  
2187c85f   吴启风   feat:课程结构调整
8
  class LessonDataLoadState extends SectionState {}
3c1d5c64   liangchengyou   feat:练习功能完成
9
  
2187c85f   吴启风   feat:课程结构调整
10
  class RequestVideoLessonState extends SectionState {
934e2b47   liangchengyou   feat:权限调整+课程进度接口对接
11
    final String courseLessonId;
3c1d5c64   liangchengyou   feat:练习功能完成
12
    final int type;
934e2b47   liangchengyou   feat:权限调整+课程进度接口对接
13
14
15
    RequestVideoLessonState(this.courseLessonId,this.type);
  }
  
2187c85f   吴启风   feat:课程结构调整
16
  class RequestEnterClassState extends SectionState{
934e2b47   liangchengyou   feat:权限调整+课程进度接口对接
17
18
19
    final String courseLessonId;
    final int courseType;
    RequestEnterClassState(this.courseLessonId,this.courseType);
3c1d5c64   liangchengyou   feat:练习功能完成
20
  }