initService method
Future<bool?>
initService({
- required double screenHeight,
- String? chatHeadIcon,
- String? notificationIcon,
- String? notificationTitle,
- int? notificationCircleHexColor,
- String? notificationBody,
override
Implementation
@override
Future<bool?> initService({
required double screenHeight,
String? chatHeadIcon,
String? notificationIcon,
String? notificationTitle,
int? notificationCircleHexColor,
String? notificationBody,
}) async {
final enabled = await methodChannel.invokeMethod<bool>('initService', {
'screenHeight': screenHeight,
'chatHeadIcon': chatHeadIcon,
'notificationIcon': notificationIcon,
'notificationTitle': notificationTitle,
'notificationCircleHexColor': notificationCircleHexColor,
'notificationBody': notificationBody,
});
return enabled;
}