BackupPreferences constructor

BackupPreferences({
  1. int? version,
  2. int? timestamp,
  3. LocalConfig? config,
  4. LocalModuleConfig? moduleConfig,
  5. ChannelFile? channels,
  6. User? owner,
})

Implementation

factory BackupPreferences({
  $core.int? version,
  $core.int? timestamp,
  $3.LocalConfig? config,
  $3.LocalModuleConfig? moduleConfig,
  ChannelFile? channels,
  $1.User? owner,
}) {
  final result = create();
  if (version != null) result.version = version;
  if (timestamp != null) result.timestamp = timestamp;
  if (config != null) result.config = config;
  if (moduleConfig != null) result.moduleConfig = moduleConfig;
  if (channels != null) result.channels = channels;
  if (owner != null) result.owner = owner;
  return result;
}