assertAreData
Asserts that all class declarations are data classes.
Example:
classes.assertAreData()Content copied to clipboard
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.