Project constructor
- ProjectResponse response,
- dynamic client
Creates a Project from a protobuf response.
Implementation
Project(pb.ProjectResponse response, dynamic client) : super(client) {
projectId = response.projectId;
name = response.name;
description = response.description;
createdAt = response.createdAt.isEmpty ? null : response.createdAt;
updatedAt = response.updatedAt.isEmpty ? null : response.updatedAt;
deprecated = response.deprecated;
allowPublic = response.allowPublic;
}