Line data Source code
1 : // GENERATED CODE - DO NOT MODIFY BY HAND 2 : 3 : part of 'follow.dart'; 4 : 5 : // ************************************************************************** 6 : // JsonSerializableGenerator 7 : // ************************************************************************** 8 : 9 2 : Follow _$FollowFromJson(Map json) { 10 2 : return Follow( 11 2 : json['feed_id'] as String?, 12 2 : json['target_id'] as String?, 13 : ); 14 : } 15 : 16 2 : Map<String, dynamic> _$FollowToJson(Follow instance) => <String, dynamic>{ 17 1 : 'feed_id': instance.feedId, 18 1 : 'target_id': instance.targetId, 19 : }; 20 : 21 1 : UnFollow _$UnFollowFromJson(Map json) { 22 1 : return UnFollow( 23 1 : json['feed_id'] as String?, 24 1 : json['target_id'] as String?, 25 1 : json['keep_history'] as bool?, 26 : ); 27 : } 28 : 29 2 : Map<String, dynamic> _$UnFollowToJson(UnFollow instance) => <String, dynamic>{ 30 1 : 'feed_id': instance.feedId, 31 1 : 'target_id': instance.targetId, 32 1 : 'keep_history': instance.keepHistory, 33 : };