Schema.integer constructor
Schema.integer({})
Construct a schema for an integer number.
The format may be "int32" or "int64".
Implementation
Schema.integer({
String? description,
String? title,
bool? nullable,
String? format,
int? minimum,
int? maximum,
}) : this(
SchemaType.integer,
description: description,
title: title,
nullable: nullable,
format: format,
minimum: minimum?.toDouble(),
maximum: maximum?.toDouble(),
);