addRoutes method

void addRoutes([
  1. Service? service
])
inherited

Generates RESTful routes pointing to this class's methods.

Implementation

void addRoutes([Service? service]) {
  _addRoutesInner(service ?? this, bootstrappers);
}