LogEvent.fromJson constructor

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

Implementation

factory LogEvent.fromJson(Map<String, dynamic> json) {
  return LogEvent(
    createdAt: timeStampFromJson(json['createdAt']),
    message: json['message'] as String?,
  );
}