ControlInfo.fromJson constructor

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

Implementation

factory ControlInfo.fromJson(Map<String, dynamic> json) {
  return ControlInfo(json['name'], json['template']);
}