PutLogEventsResponse.fromJson constructor

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

Implementation

factory PutLogEventsResponse.fromJson(Map<String, dynamic> json) {
  return PutLogEventsResponse(
    nextSequenceToken: json['nextSequenceToken'] as String?,
    rejectedLogEventsInfo: json['rejectedLogEventsInfo'] != null
        ? RejectedLogEventsInfo.fromJson(
            json['rejectedLogEventsInfo'] as Map<String, dynamic>)
        : null,
  );
}