toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  var  data = <String, dynamic>{};
  data['pathFile'] = pathFile;
  data['from'] = from;
  data['to'] = to;
  return data;
}