Service Response

Class: ServiceResponse<T>

Type Parameters: * T: The type of data contained in the response.

Properties:

  1. Data
    • Type: T?

    • Description: Represents the data contained in the response. It can be nullable.

  2. Success
    • Type: bool

    • Description: Indicates whether the service operation was successful. It is set to false by default.

  3. Message
    • Type: string?

    • Description: Represents an optional message associated with the response. It can be nullable.

Please note that any required imports or namespace declarations should be included in your actual code, which have been omitted here for brevity.