DefaultButton.fromJson constructor
DefaultButton.fromJson(
- dynamic json
Implementation
DefaultButton.fromJson(dynamic json) {
_bgColor = json['bgColor'];
_bgColorOpacity = json['bgColorOpacity'];
_hoverBgColor = json['hoverBgColor'];
_hoverBgColorOpacity = json['hoverBgColorOpacity'];
_border = json['border'] != null ? Border.fromJson(json['border']) : null;
_borderRadius = json['borderRadius'];
_title = json['title'] != null ? Title.fromJson(json['title']) : null;
}