ClientSettingsUpdate class

Used for updating a client's input and/or publishing settings.

Annotations
  • @Freezed(toJson: true)

Constructors

ClientSettingsUpdate.set({Update<InputSettingsUpdate>? inputs, Update<PublishingSettingsUpdate>? publishing})
Update client settings with specific values.
const
factory

Properties

copyWith → $ClientSettingsUpdateCopyWith<ClientSettingsUpdate>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
inputs → Update<InputSettingsUpdate>?
no setterinherited
publishing → Update<PublishingSettingsUpdate>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult set(_ClientSettingsUpdate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? set(_ClientSettingsUpdate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult set(_ClientSettingsUpdate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult set(Update<InputSettingsUpdate>? inputs, Update<PublishingSettingsUpdate>? publishing)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult set(Update<InputSettingsUpdate>? inputs, Update<PublishingSettingsUpdate>? publishing)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? set(Update<InputSettingsUpdate>? inputs, Update<PublishingSettingsUpdate>? publishing)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fromDefaults → const Update<ClientSettingsUpdate>
Restore client settings to their default values