@override Object toJson() { return { if (totalTokenCount.isNotDefault) 'totalTokenCount': totalTokenCount, }; }