PriorityLevelConfigurationSpec.fromJson constructor

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

Creates a PriorityLevelConfigurationSpec from JSON data.

Implementation

PriorityLevelConfigurationSpec.fromJson(Map<String, dynamic> json)
    : this(
        limited: json['limited'] != null
            ? LimitedPriorityLevelConfiguration.fromJson(json['limited'])
            : null,
        type: json['type'],
      );