AddApplicationReferenceDataSourceResponse.fromJson constructor

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

Implementation

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