Line data Source code
1 : import 'package:freezed_annotation/freezed_annotation.dart';
2 :
3 : import '../../../types.dart';
4 :
5 : part 'profile_page_data.freezed.dart';
6 : part 'profile_page_data.g.dart';
7 :
8 : @freezed
9 : class ProfilePageData extends PageData with _$ProfilePageData, ReduxState {
10 : static const String className = 'ProfilePageData';
11 :
12 77 : const ProfilePageData._();
13 : const factory ProfilePageData() = _ProfilePageData;
14 :
15 1 : factory ProfilePageData.fromJson(JsonMap json) =>
16 1 : _$ProfilePageDataFromJson(json);
17 :
18 1 : @override
19 : String get typeName => className;
20 : }
|