GrpcGatewayRoute.fromJson constructor

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

Implementation

factory GrpcGatewayRoute.fromJson(Map<String, dynamic> json) {
  return GrpcGatewayRoute(
    action: GrpcGatewayRouteAction.fromJson(
        json['action'] as Map<String, dynamic>),
    match:
        GrpcGatewayRouteMatch.fromJson(json['match'] as Map<String, dynamic>),
  );
}