class Cucumber::Messages::DataTable

def self.from_h(hash)

def self.from_h(hash)
  return nil if hash.nil?
  self.new(
    location: Location.from_h(hash[:location]),
    rows: hash[:rows]&.map { |item| TableRow.from_h(item) },
  )
end