HttpRoute.fromJson constructor
Implementation
factory HttpRoute.fromJson(Map<String, dynamic> json) {
return HttpRoute(
action: json['action'] != null
? HttpRouteAction.fromJson(json['action'] as Map<String, dynamic>)
: null,
match: json['match'] != null
? HttpRouteMatch.fromJson(json['match'] as Map<String, dynamic>)
: null,
);
}