WebMessage constructor Null safety

WebMessage(
  1. {String? data,
  2. List<WebMessagePort>? ports}
)

Implementation

WebMessage({this.data, this.ports});