fromJson static method
Implementation
static RouteQueue? fromJson(Object? data, NRouterDelegate delegate) {
switch (data) {
case {'list': List listMap}:
final routeQueue = RouteQueue(delegate);
final list = fromListMap(listMap, routeQueue);
routeQueue.initWithValue(list);
return routeQueue;
}
return null;
}