Schema.number constructor
Schema.number({})
Construct a schema for a non-integer number.
The format may be "float" or "double".
Implementation
Schema.number({
String? description,
String? title,
bool? nullable,
String? format,
double? minimum,
double? maximum,
}) : this(
SchemaType.number,
description: description,
title: title,
nullable: nullable,
format: format,
minimum: minimum,
maximum: maximum,
);