FlyResponse constructor
FlyResponse(
- bool isSuccess,
- String data,
- String? message, [
- FlyException? exception,
Constructs a FlyResponse instance.
The isSuccess
parameter indicates whether the operation was successful.
The data
parameter represents the Json.Encoded String data returned from the operation.
The message
parameter is an optional message associated with the response.
The exception
parameter is an optional exception that occurred during the operation.
Implementation
FlyResponse(this.isSuccess, this.data, this.message, [this.exception]);