MatrixWidget.etherpad constructor

MatrixWidget.etherpad(
  1. Room room,
  2. String name,
  3. Uri url
)

creates an m.etherpad MatrixWidget

Implementation

factory MatrixWidget.etherpad(Room room, String name, Uri url) =>
    MatrixWidget(
      room: room,
      name: name,
      type: 'm.etherpad',
      url: url.toString(),
      data: {
        'url': url.toString(),
      },
    );