setCustomerUserId method

Future<void> setCustomerUserId(
  1. String id
)

Implementation

Future<void> setCustomerUserId(String id) async {
  debugPrint('check user---> af channel setCustomerUserId invoke');
  try {
    await _methodChannel.invokeMethod<void>(
      'setCustomerUserId',
      <String, dynamic>{'id': id},
    );
    debugPrint('check user---> af channel setCustomerUserId success');
  } catch (error) {
    debugPrint('check user---> af channel setCustomerUserId error--->$error');
    rethrow;
  }
}