FargateProfileSelector.fromJson constructor

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

Implementation

factory FargateProfileSelector.fromJson(Map<String, dynamic> json) {
  return FargateProfileSelector(
    labels: (json['labels'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    namespace: json['namespace'] as String?,
  );
}