diff --git a/lib/customer_io.dart b/lib/customer_io.dart index 5918469b..8622f0d5 100644 --- a/lib/customer_io.dart +++ b/lib/customer_io.dart @@ -80,13 +80,13 @@ class CustomerIO { } } - /// Identify a person using a unique identifier, eg. email id. + /// Identify a person using a unique userId, eg. email id. /// Note that you can identify only 1 profile at a time. In case, multiple /// identifiers are attempted to be identified, then the last identified profile /// will be removed automatically. /// - /// @param identifier unique identifier for a profile - /// @param attributes (Optional) params to set profile attributes + /// @param userId unique identifier for a profile + /// @param traits (Optional) params to set profile attributes void identify( {required String userId, Map traits = const {}}) { diff --git a/lib/customer_io_method_channel.dart b/lib/customer_io_method_channel.dart index e870f975..ded1b897 100644 --- a/lib/customer_io_method_channel.dart +++ b/lib/customer_io_method_channel.dart @@ -71,7 +71,7 @@ class CustomerIOMethodChannel extends CustomerIOPlatform { } } - /// Identify a person using a unique identifier, eg. email id. + /// Identify a person using a unique userId, eg. email id. /// Note that you can identify only 1 profile at a time. In case, multiple /// identifiers are attempted to be identified, then the last identified profile /// will be removed automatically.