updateUserAttributes method

Future<BKTResult<void>> updateUserAttributes(
  1. Map<String, String> userAttributes
)

Implementation

Future<BKTResult<void>> updateUserAttributes(
    Map<String, String> userAttributes) async {
  return await statusGuard(
    await _invokeMethod(
      CallMethods.updateUserAttributes.name,
      argument: userAttributes,
    ),
  ).onError((Object error, stackTrace) {
    debugPrint("updateUserAttributes fail: ${error.toString()}");
    return error.toBKTResultFailure();
  });
}