Endpoint constructor Null safety

const Endpoint(
  1. {required String uri,
  2. required Method method}
)

Constructor

Implementation

const Endpoint({
  required this.uri,
  required this.method,
});