BoardCreateBean.fromJson constructor
Implementation
factory BoardCreateBean.fromJson(Map<String, Object?> json) {
return BoardCreateBean(
name: json[r'name'] as String?,
type: json[r'type'] != null
? BoardCreateBeanType.fromValue(json[r'type']! as String)
: null,
filterId: (json[r'filterId'] as num?)?.toInt(),
location: json[r'location'] != null
? BoardCreateBeanLocation.fromJson(
json[r'location']! as Map<String, Object?>)
: null,
);
}