toMap method

Map<String, dynamic> toMap()
override

Implementation

Map<String, dynamic> toMap() {
  return {
    "\$id": $id,
    "\$createdAt": $createdAt,
    "\$updatedAt": $updatedAt,
    "name": name,
    "enabled": enabled,
    "live": live,
    "logging": logging,
    "framework": framework,
    "deploymentId": deploymentId,
    "deploymentCreatedAt": deploymentCreatedAt,
    "deploymentScreenshotLight": deploymentScreenshotLight,
    "deploymentScreenshotDark": deploymentScreenshotDark,
    "latestDeploymentId": latestDeploymentId,
    "latestDeploymentCreatedAt": latestDeploymentCreatedAt,
    "latestDeploymentStatus": latestDeploymentStatus,
    "vars": vars.map((p) => p.toMap()).toList(),
    "timeout": timeout,
    "installCommand": installCommand,
    "buildCommand": buildCommand,
    "outputDirectory": outputDirectory,
    "installationId": installationId,
    "providerRepositoryId": providerRepositoryId,
    "providerBranch": providerBranch,
    "providerRootDirectory": providerRootDirectory,
    "providerSilentMode": providerSilentMode,
    "specification": specification,
    "buildRuntime": buildRuntime,
    "adapter": adapter,
    "fallbackFile": fallbackFile,
  };
}