PriorityLevelConfigurationStatus.fromJson constructor
Creates a PriorityLevelConfigurationStatus from JSON data.
Implementation
factory PriorityLevelConfigurationStatus.fromJson(Map<String, dynamic> json) {
final tempConditionsJson = json['conditions'];
final List<PriorityLevelConfigurationCondition>? tempConditions =
tempConditionsJson != null
? List<dynamic>.from(tempConditionsJson)
.map(
(e) => PriorityLevelConfigurationCondition.fromJson(
Map<String, dynamic>.from(e),
),
)
.toList()
: null;
return PriorityLevelConfigurationStatus(
conditions: tempConditions,
);
}