requiredMessage property

String? requiredMessage
final

Defines an optional message to be thrown as an explanation to why is this field needs to be provided in incoming JSON payload object If this message is provided it's treated as if required is set to true

Implementation

final String? requiredMessage;