toBody method

Map<String, String> toBody()

Implementation

Map<String, String> toBody() {
  final Map<String, String> data = new Map<String, String>();
  if (ids != null) data['ids'] = ids.toString().replaceAll(' ', '');
  if (notePosition != null) data['note_position'] = notePosition.toString();
  return data;
}