SwaggerV2AdditionalPropertiesAllowed class final

A boolean rule for extra object properties.

Inheritance

Constructors

SwaggerV2AdditionalPropertiesAllowed({required bool allowed})
Sets whether the schema accepts extra property names.
const

Properties

allowed → bool
Whether the object accepts extra properties.
final
hashCode → int
The hash code for this object.
no setterinherited
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
toJson() → bool
Returns the boolean rule or the property schema as JSON.
override
toString() → String
A string representation of this object.
inherited

Operators

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