toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'created_at': createdAt?.toIso8601String(),
      'updated_at': updatedAt?.toIso8601String(),
      'is_deleted': isDeleted,
      'deleted_at': deletedAt,
      'id': id,
      'app_id': appId,
      'workspace_id': workspaceId,
      'robot_id': robotId,
      'name': name,
      'description': description,
      'is_running': isRunning,
      'is_public': isPublic,
      'exec_time': execTime,
      'started_at': startedAt?.toIso8601String(),
      'finished_at': finishedAt?.toIso8601String(),
      'bot_id': botId,
      'bot_name': botName,
      'flow_id': flowId,
      'version_id': versionId,
    };