toJson method

dynamic toJson()

to json

Implementation

toJson() {
  return jsonEncode({'fileId': fileId, 'downloadUrl': downloadUrl});
}