Http.fromJson constructor

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

Implementation

factory Http.fromJson(Map<String, dynamic> json) {
  return Http(
    clientIp: json['ClientIp'] as String?,
    httpMethod: json['HttpMethod'] as String?,
    httpStatus: json['HttpStatus'] as int?,
    httpURL: json['HttpURL'] as String?,
    userAgent: json['UserAgent'] as String?,
  );
}