toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'gift_name': giftName,
'owner_id': ownerId.toJson(),
'price': price.toJson(),
'text': text.toJson(),
'is_private': isPrivate,
'@type': constructor,
};