BrightnessBean.fromJson constructor

BrightnessBean.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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