notNull property

bool? notNull
final

Declares annotated field as NOT NULL for serialization / deserialization process i.e needs to be present in incoming JSON payload object as not NULL value Optional custom message notNullMessage could be provided as well Strict obligation If set to true states of required, ignore, ignoreForDeserialization, ignoreForSerialization, ignoreIfNull, Json.ignoreNullMembers has no meaning.

Implementation

final bool? notNull;