create static method

void create(
  1. List<FxRoute> routes
)

Implementation

static void create(List<FxRoute> routes){
  _routes = [];
  _routes.addAll(routes);
}