ScreenshotResponse constructor

ScreenshotResponse({
  1. required Uint8List image,
  2. String? message,
  3. bool? success,
})

Implementation

ScreenshotResponse({
  required this.image,
  String? message,
  bool? success,
}) : super(
        message: message,
        payload: _toPayload(
          image: image,
        ),
        success: success,
        type: kResponseType,
      );