documentByUrl method

dynamic documentByUrl(
  1. String documentUrl
)

Implementation

documentByUrl(String documentUrl) {
  var replayObject = {
    "type": "document",
    "document": {"link": documentUrl}
  };
  return replayObject;
}