sendContactUsInfo static method

Future<void> sendContactUsInfo({
  1. required String title,
  2. required String description,
  3. required dynamic flyCallBack(
    1. 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);
}