ContainerDistributionConfiguration.fromJson constructor
ContainerDistributionConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ContainerDistributionConfiguration.fromJson(
Map<String, dynamic> json) {
return ContainerDistributionConfiguration(
targetRepository: TargetContainerRepository.fromJson(
json['targetRepository'] as Map<String, dynamic>),
containerTags: (json['containerTags'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
description: json['description'] as String?,
);
}