type property
SchemaType?
get
type
Single allowable type for the JsonSchema.
Spec: https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.25
Implementation
SchemaType? get type => _typeList!.length == 1 ? _typeList!.single : null;