toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ListDeviceFleetsSortBy.name:
      return 'NAME';
    case ListDeviceFleetsSortBy.creationTime:
      return 'CREATION_TIME';
    case ListDeviceFleetsSortBy.lastModifiedTime:
      return 'LAST_MODIFIED_TIME';
  }
}