ApiBodyField<T> class

Creates an instance of ApiParameter.

name - The name of the parameter. def - Optional default value for the parameter. description - Optional description of the parameter. isRequired - Indicates whether the parameter is required. paramIn - The location where the parameter is expected in the request.

Constructors

ApiBodyField(String name, {Object? def, String? description, bool isRequired = false})

Properties

def Object?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isRequired bool
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
no setter
typeString String
no setter

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