discontinuedPackage json_schema2 has been discontinued and replaced by json_schema.

examples property

List get examples

Implementation

List get examples =>
    defaultValue != null ? ([..._examples, defaultValue]) : _examples;