class Cucumber::Messages::PickleStep

def self.from_h(hash)

def self.from_h(hash)
  return nil if hash.nil?
  self.new(
    argument: PickleStepArgument.from_h(hash[:argument]),
    ast_node_ids: hash[:astNodeIds],
    id: hash[:id],
    type: hash[:type],
    text: hash[:text],
  )
end

def initialize(

def initialize(
  argument: nil,
  ast_node_ids: [],
  id: '',
  type: nil,
  text: ''
)
  @argument = argument
  @ast_node_ids = ast_node_ids
  @id = id
  @type = type
  @text = text
end