Endpoint constructor

const Endpoint(
  1. String endpoint
)

Creates an Endpoint with the given endpoint.

Implementation

const Endpoint(this.endpoint);