AddApplicationOutputResponse.fromJson constructor

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

Implementation

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