WebSocketAction constructor Null safety

WebSocketAction(
  1. {String? id,
  2. String? eventName,
  3. dynamic data,
  4. Map<String, dynamic>? params}
)

Implementation

WebSocketAction({this.id, this.eventName, this.data, this.params});