AwsRdsPendingCloudWatchLogsExports.fromJson constructor

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

Implementation

factory AwsRdsPendingCloudWatchLogsExports.fromJson(
    Map<String, dynamic> json) {
  return AwsRdsPendingCloudWatchLogsExports(
    logTypesToDisable: (json['LogTypesToDisable'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    logTypesToEnable: (json['LogTypesToEnable'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}