SprintCreateBean.fromJson constructor

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

Implementation

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