UIComponent.fromJson constructor

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

Implementation

UIComponent.fromJson(Map<String, dynamic> json) {
  type = json['type'];
  id = json['id'];
  properties = json['props'] != null
      ? Properties.fromJson(json['props'], type!)
      : null;
}