ProjectLandingPageInfo.fromJson constructor

ProjectLandingPageInfo.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ProjectLandingPageInfo.fromJson(Map<String, Object?> json) {
  return ProjectLandingPageInfo(
    attributes: json[r'attributes'] as Map<String, Object?>?,
    boardId: (json[r'boardId'] as num?)?.toInt(),
    boardName: json[r'boardName'] as String?,
    projectKey: json[r'projectKey'] as String?,
    projectType: json[r'projectType'] as String?,
    queueCategory: json[r'queueCategory'] as String?,
    queueId: (json[r'queueId'] as num?)?.toInt(),
    queueName: json[r'queueName'] as String?,
    simpleBoard: json[r'simpleBoard'] as bool? ?? false,
    simplified: json[r'simplified'] as bool? ?? false,
    url: json[r'url'] as String?,
  );
}