ForwardedRequestContext.fromJson constructor
ForwardedRequestContext.fromJson(
- Object? json
Implementation
factory ForwardedRequestContext.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return ForwardedRequestContext(
destinationDuration: (map['destination_duration'] as num).toInt(),
destinationIpAddress: (map['destination_ip_address'] as String),
);
}