ProtocolDefinition constructor

const ProtocolDefinition({
  1. required List<EndpointDefinition> endpoints,
  2. required List<SerializableModelDefinition> models,
})

Create a new ProtocolDefinition.

Implementation

const ProtocolDefinition({
  required this.endpoints,
  required this.models,
});