Serializes the object to a map.
@override Map<String, dynamic> serialize() { return { "collectionDetailsToggle": { name: fileds?.map((e) => e.serialize()).toList() } }; }