HttpGatewayRoute.fromJson constructor

HttpGatewayRoute.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HttpGatewayRoute.fromJson(Map<String, dynamic> json) {
  return HttpGatewayRoute(
    action: HttpGatewayRouteAction.fromJson(
        json['action'] as Map<String, dynamic>),
    match:
        HttpGatewayRouteMatch.fromJson(json['match'] as Map<String, dynamic>),
  );
}