FilteredLogEvent.fromJson constructor

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

Implementation

factory FilteredLogEvent.fromJson(Map<String, dynamic> json) {
  return FilteredLogEvent(
    eventId: json['eventId'] as String?,
    ingestionTime: json['ingestionTime'] as int?,
    logStreamName: json['logStreamName'] as String?,
    message: json['message'] as String?,
    timestamp: json['timestamp'] as int?,
  );
}