EpicUpdateBean.fromJson constructor

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

Implementation

factory EpicUpdateBean.fromJson(Map<String, Object?> json) {
  return EpicUpdateBean(
    name: json[r'name'] as String?,
    summary: json[r'summary'] as String?,
    color: json[r'color'] != null
        ? EpicUpdateBeanColor.fromJson(
            json[r'color']! as Map<String, Object?>)
        : null,
    done: json[r'done'] as bool? ?? false,
  );
}