toBody method

Map<String, String> toBody()

Implementation

Map<String, String> toBody() {
  final Map<String, String> data = new Map<String, String>();
  if (userId != null) data['user_id'] = userId.toString();
  if (follow != null) data['follow'] = follow.toString();
  return data;
}