FlyResponse constructor

FlyResponse(
  1. bool isSuccess,
  2. String data,
  3. String? message, [
  4. 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]);