formatUA static method

String formatUA(
  1. String protocol,
  2. int version,
  3. String sdkVersion
)

Implementation

static String formatUA(
  String protocol,
  int version,
  String sdkVersion,
) {
  String os = getOS();
  String id = getId();
  return <String>[
    [protocol, version].join('-'),
    <String>['Flutter', sdkVersion].join('-'),
    os,
    id,
  ].join('/');
}