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 (favorersDetail != null) data['favorers_detail'] = favorersDetail.toString();
  if (limitedDetail != null) data['limited_detail'] = limitedDetail.toString();
  if (replurkersDetail != null) data['replurkers_detail'] = replurkersDetail.toString();
  return data;
}