handleShowCallKit static method

void handleShowCallKit(
  1. RemoteMessage message
)

Implementation

static void handleShowCallKit(RemoteMessage message) {
  AndroidConnectionService.showCallkitIncoming(CallkitParamsModel(
    uuid: message.messageId ?? '',
    nameCaller: message.data['nameCaller'] ?? '',
    avatar: message.data['avatar'] ?? '',
    phoneNumber: message.data['phoneNumber'] ?? '',
    appName: message.data['appName'] ?? '',
    backgroundColor: message.data['backgroundColor'] ?? '#0955fa',
  ));
}