factory BrightnessBean.fromJson(Map<String, dynamic> json) => BrightnessBean( current: json["current"], max: json["max"], );