imageById method

dynamic imageById(
  1. String imageId
)

Implementation

imageById(String imageId) {
  var replayObject = {
    "type": "image",
    "image": {"id": imageId}
  };
  return replayObject;
}