Http.fromJson constructor

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

Implementation

factory Http.fromJson(Map<String, dynamic> json) {
  return Http(
    rules: decodeListMessage(json['rules'], HttpRule.fromJson) ?? [],
    fullyDecodeReservedExpansion:
        json['fullyDecodeReservedExpansion'] ?? false,
  );
}