IPSetForwardedIPConfig.fromJson constructor

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

Implementation

factory IPSetForwardedIPConfig.fromJson(Map<String, dynamic> json) {
  return IPSetForwardedIPConfig(
    fallbackBehavior:
        (json['FallbackBehavior'] as String).toFallbackBehavior(),
    headerName: json['HeaderName'] as String,
    position: (json['Position'] as String).toForwardedIPPosition(),
  );
}