IntegerType class

An integer type (commonly used integer type or long).

Inheritance

Constructors

IntegerType({int minValue, int maxValue, bool exclusiveMin: false, bool exclusiveMax: false })
IntegerType.fromJson(Map<String, dynamic> json)
factory

Properties

exclusiveMax → bool
Tells if the maximum value should be exclusive. Defaults to false.
final
exclusiveMin → bool
Tells if the minimum value should be exclusive. Defaults to false.
final
maxValue → int
The maximum value (optional).
final
minValue → int
The minimum value (optional).
final
annotated ↔ bool
Tells if a value of this type is annotated, i.e. wrapped by an instance of AnnotatedValue. Defaults to false.
read / write, inherited
defaultValue ↔ int
The default value (optional).
read / write, inherited
description ↔ String
The data type location description.
read / write, inherited
features → Map<String, Object>
The data type features as a map of names to values.
final, inherited
format ↔ String
The format (optional).
read / write, inherited
hashCode → int
The hash code for this object.
read-only, inherited
kind DataTypeKind
The data type kind.
final, inherited
kindValue → String
The string value of the data type kind, e.g. 'LIST'.
read-only, inherited
label ↔ String
The data type location label.
read / write, inherited
name ↔ String
The data type location name.
read / write, inherited
nullable ↔ bool
Tells if a value of this type may be null. The default is that a value must not be null, i.e. it is not nullable.
read / write, inherited
optional ↔ bool
The flag specifying if this type is optional. Defaults to false.
read / write, inherited
provided ProvidedMeta
The provided value specification. Defaults to null.
read / write, inherited
registeredType ↔ String
The optional corresponding registered data type name.
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() → Map<String, dynamic>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Constants

FEATURE_EXCLUSIVE_MAX → const String
The feature name for the exclusiveMax.
'exclusiveMax'
FEATURE_EXCLUSIVE_MIN → const String
The feature name for the exclusiveMin.
'exclusiveMin'
FEATURE_MAX_VALUE → const String
The feature name for the maxValue.
'maxValue'
FEATURE_MIN_VALUE → const String
The feature name for the exclusiveMax.
'minValue'