GatewayRouteStatus.fromJson constructor

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

Implementation

factory GatewayRouteStatus.fromJson(Map<String, dynamic> json) {
  return GatewayRouteStatus(
    status: (json['status'] as String).toGatewayRouteStatusCode(),
  );
}