Hsb.fromJson constructor

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

Implementation

Hsb.fromJson(Map<String, dynamic> json) {
  h = json['h'];
  s = json['s'];
  b = json['b'];
}