BoardConfigBean.fromJson constructor
Implementation
factory BoardConfigBean.fromJson(Map<String, Object?> json) {
return BoardConfigBean(
id: (json[r'id'] as num?)?.toInt(),
name: json[r'name'] as String?,
type: json[r'type'] as String?,
self: json[r'self'] as String?,
location: json[r'location'] != null
? BoardConfigBeanLocation.fromJson(
json[r'location']! as Map<String, Object?>)
: null,
filter: json[r'filter'] != null
? BoardConfigBeanFilter.fromJson(
json[r'filter']! as Map<String, Object?>)
: null,
subQuery: json[r'subQuery'] != null
? BoardConfigBeanSubQuery.fromJson(
json[r'subQuery']! as Map<String, Object?>)
: null,
columnConfig: json[r'columnConfig'] != null
? BoardConfigBeanColumnConfig.fromJson(
json[r'columnConfig']! as Map<String, Object?>)
: null,
estimation: json[r'estimation'] != null
? BoardConfigBeanEstimation.fromJson(
json[r'estimation']! as Map<String, Object?>)
: null,
ranking: json[r'ranking'] != null
? BoardConfigBeanRanking.fromJson(
json[r'ranking']! as Map<String, Object?>)
: null,
);
}