Write.fromJson constructor

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

Implementation

Write.fromJson(Map<String, dynamic> json) {
  interval = json['interval'];
  delay = json['delay'];
  if (json['send_rule'] != null) {
    sendRule = json['send_rule'];
  }
  name = json['name'];
  sourceType = json['source_type'];
  sourceWriteFormat = json['source_write_format'];
  sourceParams = json['source_params'];
  sourceUrl = json['source_url'];
}