AccessorIntOption class final

Inheritance
Implemented types

Constructors

AccessorIntOption(String name, {String? description})
const

Properties

description → String?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
name → String
finalinherited
outputType → Type
The exact output type promised by this retained declaration.
no setterinherited
regex → RegExp
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

Static Properties

syntax → RegExp
The syntax Parser accepts for an int accessor, without a range to check against. A field rather than a getter: the pattern is fixed, and building it per access would allocate on every parse.
final

Static Methods

required(String name, {String? description}) → RequiredAccessorOption<int>
withDefault(String name, {required int defaultValue, String? description}) → DefaultedAccessorOption<int>