AddApplicationCloudWatchLoggingOptionResponse.fromJson constructor

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

Implementation

factory AddApplicationCloudWatchLoggingOptionResponse.fromJson(
    Map<String, dynamic> json) {
  return AddApplicationCloudWatchLoggingOptionResponse(
    applicationARN: json['ApplicationARN'] as String?,
    applicationVersionId: json['ApplicationVersionId'] as int?,
    cloudWatchLoggingOptionDescriptions:
        (json['CloudWatchLoggingOptionDescriptions'] as List?)
            ?.whereNotNull()
            .map((e) => CloudWatchLoggingOptionDescription.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}