toQueryParam method

  1. @override
Map<String, String> toQueryParam()
override

Implementation

@override
Map<String, String> toQueryParam() {
  if (fields != null && fields!.isNotEmpty) {
    return {key: fields!.join(',')};
  }
  return {key: 'true'};
}