fromJson method
Load the attributes of the widget descriptor from
Implementation
@override
SDUIWidget fromJson(Map<String, dynamic>? json) {
background = json?["background"];
selectedItemColor = json?["selectedItemColor"];
unselectedItemColor = json?["unselectedItemColor"];
iconSize = json?["iconSize"];
elevation = json?["elevation"];
currentIndex = json?["currentIndex"];
fontSize = json?["fontSize"];
return super.fromJson(json);
}