WsRequest constructor Null safety

WsRequest(
  1. {String? requestId}
)

Implementation

WsRequest({this.requestId}) {
  payload['req_id'] = requestId ?? Uuid().v1();
}