encode method

String? encode()

Implementation

String? encode() {
  switch (this) {
    case BuiltinUserProperty.userId:
      return 'userId';
    case BuiltinUserProperty.userRnd:
      return 'userRnd';
    case BuiltinUserProperty.languageCode:
      return 'languageCode';
    case BuiltinUserProperty.regionCode:
      return 'regionCode';
    case BuiltinUserProperty.currentTime:
      return 'currentTime';
    case BuiltinUserProperty.firstBootTime:
      return 'firstBootTime';
    case BuiltinUserProperty.lastBootTime:
      return 'lastBootTime';
    case BuiltinUserProperty.retentionPeriod:
      return 'retentionPeriod';
    case BuiltinUserProperty.bootingTime:
      return 'bootingTime';
    case BuiltinUserProperty.sdkVersion:
      return 'sdkVersion';
    case BuiltinUserProperty.osVersion:
      return 'osVersion';
    case BuiltinUserProperty.osName:
      return 'osName';
    case BuiltinUserProperty.appId:
      return 'appId';
    case BuiltinUserProperty.appVersion:
      return 'appVersion';
    case BuiltinUserProperty.cfBundleVersion:
      return 'cfBundleVersion';
    case BuiltinUserProperty.localYear:
      return 'localYear';
    case BuiltinUserProperty.localMonth:
      return 'localMonth';
    case BuiltinUserProperty.localWeekday:
      return 'localWeekday';
    case BuiltinUserProperty.localDay:
      return 'localDay';
    case BuiltinUserProperty.localHour:
      return 'localHour';
    case BuiltinUserProperty.localMinute:
      return 'localMinute';
    case BuiltinUserProperty.localSecond:
      return 'localSecond';
    case BuiltinUserProperty.UNKNOWN:
      return null;
  }
}