FlowSchemaStatus.fromJson constructor

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

Creates a FlowSchemaStatus from JSON data.

Implementation

FlowSchemaStatus.fromJson(Map<String, dynamic> json)
    : this(
        conditions: json['conditions'] != null
            ? FlowSchemaCondition.listFromJson(
                (json['conditions'] as Iterable).cast<Map<String, dynamic>>())
            : null,
      );