toMap method

Map<String, dynamic> toMap()
override

Implementation

Map<String, dynamic> toMap() {
  return {
    "\$id": $id,
    "\$createdAt": $createdAt,
    "\$updatedAt": $updatedAt,
    "execute": execute,
    "name": name,
    "enabled": enabled,
    "live": live,
    "logging": logging,
    "runtime": runtime,
    "deployment": deployment,
    "vars": vars.map((p) => p.toMap()).toList(),
    "events": events,
    "schedule": schedule,
    "timeout": timeout,
    "entrypoint": entrypoint,
    "commands": commands,
    "version": version,
    "installationId": installationId,
    "providerRepositoryId": providerRepositoryId,
    "providerBranch": providerBranch,
    "providerRootDirectory": providerRootDirectory,
    "providerSilentMode": providerSilentMode,
  };
}