JsonSchemaAnnotations.fromJson constructor

JsonSchemaAnnotations.fromJson(
  1. Map json_
)

Implementation

JsonSchemaAnnotations.fromJson(core.Map json_)
    : this(
        required: json_.containsKey('required')
            ? (json_['required'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );