TcpRouteAction.fromJson constructor
Implementation
factory TcpRouteAction.fromJson(Map<String, dynamic> json) {
return TcpRouteAction(
weightedTargets: (json['weightedTargets'] as List)
.whereNotNull()
.map((e) => WeightedTarget.fromJson(e as Map<String, dynamic>))
.toList(),
);
}