Mode.fromJson constructor

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

Implementation

Mode.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  label = json['label'];
  classNames = json['classNames'];
  type = json['type'];
  description = json['description'];
  defaultSelected = json['defaultSelected'];
  selectType = json['selectType'];
  componentKey = json['componentKey'];
  componentType = json['componentType'];
  code = json['code'];
  enabled = json['enabled'];
  exclusive = json['exclusive'];
}