SocketResponse<T> constructor

const SocketResponse<T>({
  1. required String status,
  2. T? data,
  3. String? error,
})

Implementation

const SocketResponse({
  required this.status,
  this.data,
  this.error,
});