isRequired property

bool? isRequired

Whether or not this relationship is required.

By default, Relate properties are not required to support the default value of onDelete. By setting this value to true, an instance of this entity cannot be created without a valid value for the relationship property.


final bool? isRequired;