timestamp property

int? get timestamp

The timestamp

Implementation

int? get timestamp {
  final String? number = _config[DSPrefKeys.timestamp];

  if (number == null) {
    return null;
  }

  return int.tryParse(number);
}
set timestamp (int? value)

The timestamp

Implementation

set timestamp(final int? value) {
  if (value != null) {
    _config[DSPrefKeys.timestamp] = value.toString();
  } else {
    _config.remove(DSPrefKeys.timestamp);
  }
}