get<T> method
Adds a GET endpoint.
Implementation
MethodRouter get<T>(Endpoint<T> endpoint, {int status = 200}) =>
on('GET', endpoint, status: status);
Adds a GET endpoint.
MethodRouter get<T>(Endpoint<T> endpoint, {int status = 200}) =>
on('GET', endpoint, status: status);