class Cucumber::Messages::PickleStep

def self.from_h(hash)

#
Cucumber::Messages::PickleStep.from_h(some_hash) # => #

corresponding snake_cased attributes.
If the hash keys are camelCased, they are properly assigned to the
Returns a new PickleStep from the given hash.
#
def self.from_h(hash)
  return nil if hash.nil?
  new(
    argument: PickleStepArgument.from_h(hash[:argument]),
    ast_node_ids: hash[:astNodeIds],
    id: hash[:id],
    type: hash[:type],
    text: hash[:text]
  )
end