SmartApiResponse<T> constructor
const
SmartApiResponse<T> ({})
Creates a response directly. You'll normally receive one from
SmartApiClient.instance.get/post/put/delete rather than
constructing it yourself.
Implementation
const SmartApiResponse({
required this.success,
this.message = "",
this.statusCode,
this.data,
this.raw,
});