- fix(learn): Modify learn path flow according to the new hierarchy. - add(learn): Add additionl screens for the new hierarchy levels.
32 lines
1.2 KiB
Dart
32 lines
1.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'course.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
Course _$CourseFromJson(Map<String, dynamic> json) => Course(
|
|
id: (json['id'] as num?)?.toInt(),
|
|
title: json['title'] as String?,
|
|
isActive: json['is_active'] as bool?,
|
|
thumbnail: json['thumbnail'] as String?,
|
|
totalCount: (json['total_count'] as num?)?.toInt(),
|
|
categoryId: (json['category_id'] as num?)?.toInt(),
|
|
description: json['description'] as String?,
|
|
introVideoUrl: json['intro_video_url'] as String?,
|
|
subCategoryId: (json['sub_category_id'] as num?)?.toInt(),
|
|
);
|
|
|
|
Map<String, dynamic> _$CourseToJson(Course instance) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'title': instance.title,
|
|
'thumbnail': instance.thumbnail,
|
|
'description': instance.description,
|
|
'is_active': instance.isActive,
|
|
'category_id': instance.categoryId,
|
|
'total_count': instance.totalCount,
|
|
'intro_video_url': instance.introVideoUrl,
|
|
'sub_category_id': instance.subCategoryId,
|
|
};
|