APIPath class Null safety
Describes the operations available on a single path.
An APIPath MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.
Constructors
-
APIPath({String? summary, String? description, List<
APIParameter?> ? parameters, Map<String, APIOperation?> ? operations}) - APIPath.empty()
Properties
-
castMap
→ Map<
String, Cast> ? -
read-onlyinherited
- description ↔ String?
-
An optional, string description, intended to apply to all operations in this path.
read / write
-
extensions
↔ Map<
String, dynamic> -
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
operations
↔ Map<
String, APIOperation?> -
Definitions of operations on this path.
read / write
-
parameters
↔ List<
APIParameter?> -
A list of parameters that are applicable for all the operations described under this path.
read / write
- referenceURI ↔ Uri?
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- summary ↔ String?
-
An optional, string summary, intended to apply to all operations in this path.
read / write
Methods
-
containsPathParameters(
List< String> parameterNames) → bool -
Returns true if this path has path parameters
parameterNames
. -
decode(
KeyedArchive object) → void -
override
-
encode(
KeyedArchive object) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited