OriginationRoute.fromJson constructor
Implementation
factory OriginationRoute.fromJson(Map<String, dynamic> json) {
return OriginationRoute(
host: json['Host'] as String?,
port: json['Port'] as int?,
priority: json['Priority'] as int?,
protocol: (json['Protocol'] as String?)?.toOriginationRouteProtocol(),
weight: json['Weight'] as int?,
);
}