ZInt class

Inheritance

Constructors

ZInt({String? mapKey, String? description, Object? example, String? failMessage, bool deprecated = false})
Marks a field as a JSON integer.
const

Properties

deprecated bool
Marks this field as deprecated in the OpenAPI schema.
finalinherited
description String?
Description shown in OpenAPI / Swagger UI.
finalinherited
example Object?
Example value shown in OpenAPI / Swagger UI.
finalinherited
failMessage String?
Custom message when type validation fails. If null, a default is used.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
key String
The resolved JSON map key — mapKey if set, otherwise ''.
no setterinherited
mapKey String?
Explicit JSON map key for this field. Takes precedence over inference.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited