required property
If true, generated code for fromJson will verify that the source JSON
map contains the associated key.
If the key is missing, a MissingRequiredKeysException will be thrown.
Note: only the existence of the key is checked. A key with a null value
is considered valid.
Implementation
final bool? required;