toBody method

Map<String, String> toBody()

Implementation

Map<String, String> toBody() {
  final Map<String, String> data = new Map<String, String>();

  if (plurkId != null) data['plurk_id'] = plurkId.toString();
  if (responseId != null) data['response_id'] = responseId.toString();
  if (content != null) data['content'] = content;

  return data;
}