toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
  'business_connection_id': businessConnectionId,
  'owner_id': ownerId?.toJson(),
  'collection_id': collectionId,
  'exclude_unsaved': excludeUnsaved,
  'exclude_saved': excludeSaved,
  'exclude_unlimited': excludeUnlimited,
  'exclude_upgradable': excludeUpgradable,
  'exclude_non_upgradable': excludeNonUpgradable,
  'exclude_upgraded': excludeUpgraded,
  'exclude_without_colors': excludeWithoutColors,
  'exclude_hosted': excludeHosted,
  'sort_by_price': sortByPrice,
  'offset': offset,
  'limit': limit,
  '@type': constructor,
};