RemoteBaseModel<T> constructor

RemoteBaseModel<T>({
  1. StatusModel? status,
  2. String? message,
  3. T? data,
  4. Object? error,
})

Constructs a RemoteBaseModel instance with optional parameters.

\param status The status of the remote operation. \param message An optional message associated with the remote operation. \param data The data retrieved from the remote source. \param error An optional error object if the remote operation failed.

Implementation

RemoteBaseModel({
  this.status,
  this.message,
  this.data,
  this.error,
});