toMap method
Implementation
Map<String, String> toMap() {
Map<String, String> map = {};
if (perPage != -1) map['perPage'] = perPage.toString();
if (page != -1) map['page'] = page.toString();
if (mode != null) map['mode'] = mode!;
if (type != null) map['type'] = type!;
if (status != null) map['status'] = status!;
if (direction != null) map['direction'] = direction!;
if (uid != null) map['uid'] = uid!;
if (guid != null) map['guid'] = guid!;
if (hasRecordings) {
map['hasRecording'] = 'true';
} else {
map['hasRecording'] = 'false';
}
return map;
}