FlowExecutionSummary.fromJson constructor

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

Implementation

factory FlowExecutionSummary.fromJson(Map<String, dynamic> json) {
  return FlowExecutionSummary(
    createdAt: timeStampFromJson(json['createdAt']),
    flowExecutionId: json['flowExecutionId'] as String?,
    flowTemplateId: json['flowTemplateId'] as String?,
    status: (json['status'] as String?)?.toFlowExecutionStatus(),
    systemInstanceId: json['systemInstanceId'] as String?,
    updatedAt: timeStampFromJson(json['updatedAt']),
  );
}