this repo has no description
at main 45 lines 1.7 kB view raw
1// GENERATED CODE - DO NOT MODIFY BY HAND 2 3part of 'profile.dart'; 4 5// ************************************************************************** 6// JsonSerializableGenerator 7// ************************************************************************** 8 9_$ProfileImpl _$$ProfileImplFromJson(Map<String, dynamic> json) => 10 _$ProfileImpl( 11 cid: json['cid'] as String, 12 did: json['did'] as String, 13 handle: json['handle'] as String, 14 displayName: json['displayName'] as String?, 15 description: json['description'] as String?, 16 avatar: json['avatar'] as String?, 17 followersCount: (json['followersCount'] as num?)?.toInt(), 18 followsCount: (json['followsCount'] as num?)?.toInt(), 19 galleryCount: (json['galleryCount'] as num?)?.toInt(), 20 viewer: json['viewer'] == null 21 ? null 22 : ProfileViewer.fromJson(json['viewer'] as Map<String, dynamic>), 23 cameras: (json['cameras'] as List<dynamic>?) 24 ?.map((e) => e as String) 25 .toList(), 26 descriptionFacets: (json['descriptionFacets'] as List<dynamic>?) 27 ?.map((e) => e as Map<String, dynamic>) 28 .toList(), 29 ); 30 31Map<String, dynamic> _$$ProfileImplToJson(_$ProfileImpl instance) => 32 <String, dynamic>{ 33 'cid': instance.cid, 34 'did': instance.did, 35 'handle': instance.handle, 36 'displayName': instance.displayName, 37 'description': instance.description, 38 'avatar': instance.avatar, 39 'followersCount': instance.followersCount, 40 'followsCount': instance.followsCount, 41 'galleryCount': instance.galleryCount, 42 'viewer': instance.viewer, 43 'cameras': instance.cameras, 44 'descriptionFacets': instance.descriptionFacets, 45 };