StringFormat enum

The format of a string

Format is an open value, so you can use any formats, even not those defined by the OpenAPI Specification. The ones listed below are some of the more common format types. Tools that do not support a specific format may default back to the type alone, as if the format is not specified.

Inheritance
Available extensions

Values

byte → const StringFormat
binary → const StringFormat
date → const StringFormat
datetime → const StringFormat
email → const StringFormat
hostname → const StringFormat
ipv4 → const StringFormat
ipv6 → const StringFormat
password → const StringFormat
uri → const StringFormat
uriRef → const StringFormat
uuid → const StringFormat

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<StringFormat>
A constant List of the values in this enum, in order of their declaration.