setRoutes method

void setRoutes(
  1. List<String>? routes
)

Implementation

void setRoutes(List<String>? routes) {
  _routes = List<String>.from(routes ?? <String>[]);
}