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