ProtocolDefinition class
Defines a projects protocol.
This does not include stuff the ProtocolYamlFileAnalyzer
analyzed.
Constructors
-
ProtocolDefinition.new({required List<
EndpointDefinition> endpoints, required List<SerializableModelDefinition> models}) -
Create a new ProtocolDefinition.
const
Properties
-
endpoints
→ List<
EndpointDefinition> -
The endpoints that are a part of this protocol.
This does not include endpoints from other modules or package:serverpod.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
models
→ List<
SerializableModelDefinition> -
final
- 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