DefaultToggle.fromJson constructor
DefaultToggle.fromJson(
- dynamic json
Implementation
DefaultToggle.fromJson(dynamic json) {
_bgColor = json['bgColor'];
_bgColorOpacity = json['bgColorOpacity'];
_activeBgColor = json['activeBgColor'];
_activeBgColorOpacity = json['activeBgColorOpacity'];
_title = json['title'] != null ? Title.fromJson(json['title']) : null;
_subTitle = json['subTitle'] != null ? SubTitle.fromJson(json['subTitle']) : null;
}