FlowSchemaSpec.fromJson constructor
Creates a FlowSchemaSpec from JSON data.
Implementation
FlowSchemaSpec.fromJson(Map<String, dynamic> json)
: this(
distinguisherMethod: json['distinguisherMethod'] != null
? FlowDistinguisherMethod.fromJson(json['distinguisherMethod'])
: null,
matchingPrecedence: json['matchingPrecedence'],
priorityLevelConfiguration:
PriorityLevelConfigurationReference.fromJson(
json['priorityLevelConfiguration']),
rules: json['rules'] != null
? PolicyRulesWithSubjects.listFromJson(
(json['rules'] as Iterable).cast<Map<String, dynamic>>())
: null,
);