toQueryParams method

Map<String, String> toQueryParams()

Implementation

Map<String, String> toQueryParams() {
  final Map<String, String> result = {
    'transVersion': translationVersion.toString(),
    'appVersion': appVersion,
  };

  if (preRelease) {
    result['prerelease'] = preRelease.toString();
  }

  return result;
}