SprintBean.fromJson constructor

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

Implementation

factory SprintBean.fromJson(Map<String, Object?> json) {
  return SprintBean(
    id: (json[r'id'] as num?)?.toInt(),
    self: json[r'self'] as String?,
    state: json[r'state'] as String?,
    name: json[r'name'] as String?,
    startDate: json[r'startDate'] as String?,
    endDate: json[r'endDate'] as String?,
    completeDate: json[r'completeDate'] as String?,
    createdDate: json[r'createdDate'] as String?,
    originBoardId: (json[r'originBoardId'] as num?)?.toInt(),
    goal: json[r'goal'] as String?,
  );
}