toMap method

Map<String, dynamic> toMap()
override

Implementation

Map<String, dynamic> toMap() {
  return {
    "\$id": $id,
    "\$createdAt": $createdAt,
    "\$updatedAt": $updatedAt,
    "type": type,
    "resourceId": resourceId,
    "resourceType": resourceType,
    "entrypoint": entrypoint,
    "size": size,
    "buildId": buildId,
    "activate": activate,
    "status": status,
    "buildLogs": buildLogs,
    "buildTime": buildTime,
    "providerRepositoryName": providerRepositoryName,
    "providerRepositoryOwner": providerRepositoryOwner,
    "providerRepositoryUrl": providerRepositoryUrl,
    "providerBranch": providerBranch,
    "providerCommitHash": providerCommitHash,
    "providerCommitAuthorUrl": providerCommitAuthorUrl,
    "providerCommitAuthor": providerCommitAuthor,
    "providerCommitMessage": providerCommitMessage,
    "providerCommitUrl": providerCommitUrl,
    "providerBranchUrl": providerBranchUrl,
  };
}