this repo has no description
at main 27 lines 701 B view raw
1import 'package:freezed_annotation/freezed_annotation.dart'; 2 3import 'profile_viewer.dart'; 4 5part 'profile.freezed.dart'; 6part 'profile.g.dart'; 7 8@freezed 9class Profile with _$Profile { 10 const factory Profile({ 11 required String cid, 12 required String did, 13 required String handle, 14 String? displayName, 15 String? description, 16 String? avatar, 17 int? followersCount, 18 int? followsCount, 19 int? galleryCount, 20 ProfileViewer? viewer, 21 List<String>? cameras, 22 // Added field for description facets used on profile page 23 List<Map<String, dynamic>>? descriptionFacets, 24 }) = _Profile; 25 26 factory Profile.fromJson(Map<String, dynamic> json) => _$ProfileFromJson(json); 27}