You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: notice.rb
    path of file: ./repos/weg-li/app/models
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Notice < ApplicationRecord
  # broadcasts_refreshes

  inc
    
  def map_data(kind = :public)
    basic = { latitude:, longitude:, tbnr:, start_date:, zip: }

    case kind
    when :public
      basic
    when :private
      basic.merge({ registration:, full_address:, token: })
    else
      raise "kind #{kind} not surported"
    end