assertAreData

Asserts that all class declarations are data classes.

Example:

classes.assertAreData()

Throws

if any class is not marked with the 'data' modifier.


Asserts that all class declarations in the scope are data classes.

Throws

if any class is not marked with the 'data' modifier.