GetRelationalDatabaseLogEventsResult.fromJson constructor

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

Implementation

factory GetRelationalDatabaseLogEventsResult.fromJson(
    Map<String, dynamic> json) {
  return GetRelationalDatabaseLogEventsResult(
    nextBackwardToken: json['nextBackwardToken'] as String?,
    nextForwardToken: json['nextForwardToken'] as String?,
    resourceLogEvents: (json['resourceLogEvents'] as List?)
        ?.whereNotNull()
        .map((e) => LogEvent.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}