Read.fromJson constructor

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

Implementation

Read.fromJson(Map<String, dynamic> json) {
  interval = json['interval'];
  sourceType = json['source_type'];
  name = json['name'];
  widgetType = json['widget_type'];
  sourceParams = json['source_params'];
  sourceUrl = json['source_url'];
}