HTTPRedirect.fromJson constructor

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

Creates a HTTPRedirect from JSON data.

Implementation

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