AddApplicationInputResponse.fromJson constructor

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

Implementation

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