code: def _ToCamelCase(name):
    
    capitalize_next = False
    result = []
  
    for c in name:
      if c == '_':
        if result:
          capitalize_next = True
      elif capitalize_next:
        result.append(c.upper())
        capitalize_next = False
      else:
        result += c
  
    # Lower-case the first letter.
    if result and result[0].isupper():
      result[0] = result[0].lower()
    return ''.join(result)
docs: Converts name to camel-case and returns it.