SDKIPCResponse<T>.success constructor

SDKIPCResponse<T>.success(
  1. T data, {
  2. String action = '',
})

Implementation

factory SDKIPCResponse.success(T data, {String action = ''}) {
  return SDKIPCResponse(
      error: '', errorCode: '', action: action, data: data, success: true);
}