SdkVersion constructor

  1. @Deprecated('Use setApplicationVersion instead.')
SdkVersion({
  1. int minor = 0,
  2. int major = 0,
  3. int year = 0,
  4. int week = 0,
  5. String revision = '',
})

Constructor for the SdkVersion class.

The API user does not normally need to construct instances directly.

Parameters

  • minor: Minor SDK version number, such as 2 in version 1.2
  • major: Major SDK version number, such as 1 in version 1
  • year: SDK year, decimal 1 or 2 digits
  • week: The week of the year, decimal 1 or 2 digits
  • revision: SDK revision string

Implementation

@Deprecated('Use setApplicationVersion instead.')
SdkVersion({
  this.minor = 0,
  this.major = 0,
  this.year = 0,
  this.week = 0,
  this.revision = '',
});