HTTPRewrite.fromJson constructor

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

Creates a HTTPRewrite from JSON data.

Implementation

HTTPRewrite.fromJson(Map<String, dynamic> json)
    : this(
        uri: json['uri'],
        authority: json['authority'],
      );