Deployment.fromMap constructor

Deployment.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Deployment.fromMap(Map<String, dynamic> map) {
  return Deployment(
    $id: map['\$id'].toString(),
    $createdAt: map['\$createdAt'].toString(),
    $updatedAt: map['\$updatedAt'].toString(),
    resourceId: map['resourceId'].toString(),
    resourceType: map['resourceType'].toString(),
    entrypoint: map['entrypoint'].toString(),
    size: map['size'],
    buildId: map['buildId'].toString(),
    activate: map['activate'],
    status: map['status'].toString(),
    buildStdout: map['buildStdout'].toString(),
    buildStderr: map['buildStderr'].toString(),
    buildTime: map['buildTime'],
  );
}