toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "workspace_id": workspaceID,
      "name": name,
      "publisher_id": userID,
      "flow_id": flowID,
      "version_id": versionID,
      "labels": labels,
      "versions": versions,
      "created_at": createdAt.toString(),
      "updated_at": updatedAt.toString(),
    };