sendContactUsInfo static method
Future<void>
sendContactUsInfo({
- required String title,
- required String description,
- required dynamic flyCallBack(
- FlyResponse response
Sends contact us information.
This method sends contact us information with the specified title and description.
Params:
title
: The title of the contact us information.description
: The description of the contact us information.
Returns:
flyCallBack
: A callback function that is called with with a FlyResponse.
Usage example:
Mirrorfly.sendContactUsInfo(
title: title,
description: description,
flyCallBack: (response) {
// Handle the response
print("Contact us info sent: $response");
},
);
Implementation
static Future<void> sendContactUsInfo(
{required String title,
required String description,
required Function(FlyResponse response) flyCallBack}) {
return FlyChatFlutterPlatform.instance
.sendContactUsInfo(title, description, flyCallBack);
}