initService method

  1. @override
Future<bool?> initService({
  1. required double screenHeight,
  2. String? chatHeadIcon,
  3. String? notificationIcon,
  4. String? notificationTitle,
  5. int? notificationCircleHexColor,
  6. 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;
}