TrueclientResponse constructor

TrueclientResponse({
  1. required String message,
  2. required bool success,
  3. Map<String, dynamic>? data,
})

Creates an instance of TrueclientResponse.

message is the message associated with the API response. success indicates whether the request was successful. data is optional and contains additional data from the API.

Implementation

TrueclientResponse({required this.message, required this.success, this.data});