GetLogEventsResponse.fromJson constructor
Implementation
factory GetLogEventsResponse.fromJson(Map<String, dynamic> json) {
return GetLogEventsResponse(
events: (json['events'] as List?)
?.whereNotNull()
.map((e) => OutputLogEvent.fromJson(e as Map<String, dynamic>))
.toList(),
nextBackwardToken: json['nextBackwardToken'] as String?,
nextForwardToken: json['nextForwardToken'] as String?,
);
}