KeyLightOptions.fromJSON constructor
KeyLightOptions.fromJSON(
- dynamic json
Implementation
KeyLightOptions.fromJSON(dynamic json)
: assert(json is Map),
number = json['numberOfLights'],
lights = (json['lights'] as Iterable).map(
(dynamic json) => KeyLightOption._fromJSON(json),
);