toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'applicationCode': applicationCode,
      'pluginVersion': pluginVersion,
      'inAppChatEnabled': inAppChatEnabled,
      'fullFeaturedInAppsEnabled': fullFeaturedInAppsEnabled,
      'androidSettings': androidSettings?.toJson(),
      'iosSettings': iosSettings?.toJson(),
      'privacySettings': privacySettings?.toJson(),
      'notificationCategories': (notificationCategories != null)
          ? notificationCategories!.map((e) => e.toJson())
          : null,
      'defaultMessageStorage': defaultMessageStorage,
      'webRTCUI': webRTCUI?.toJson(),
      'inAppChatCustomization': inAppChatCustomization?.toJson()
    };