fromJson method

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

Implementation

void fromJson(Map<String, dynamic> json) {
  time = DateTime.parse(json['time']);
  source = json['source'];
  level = json['level'];
  correlation_id = json['correlation_id'];
  error = json['error'];
  message = json['message'];
}