defaultApiVersion property

String defaultApiVersion
final

The default API version to use

Implementation

static final String defaultApiVersion = (() {
  final today = DateTime.now();
  final parts = [
    today.year.toString(),
    today.month.toString().padLeft(2, '0'),
    today.day.toString().padLeft(2, '0')
  ].join('-');

  return 'v$parts';
})();