SipConfigModel class

Model class representing SIP configuration settings for a user account.

Includes server URLs, authentication credentials, call targets, and keyboard preferences for the app's SIP call feature.

Annotations
  • @freezed

Constructors

SipConfigModel({@Default.new('') String displayName, @Default.new('') String sipServer, @Default.new('') String wsServer, @Default.new('') String authUsername, @Default.new('') String username, @Default.new('') String password, @Default.new('') String callTo, @Default.new('') String callToAlias, @Default.new(false) bool keyboard})
Constructs a SipConfigModel with optional named parameters.
const
factory
SipConfigModel.fromJson(Map<String, dynamic> json)
Creates a SipConfigModel from a JSON map.
factory

Properties

authUsername → String
no setterinherited
callTo → String
no setterinherited
callToAlias → String
no setterinherited
copyWith → $SipConfigModelCopyWith<SipConfigModel>
no setterinherited
displayName → String
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
keyboard → bool
no setterinherited
password → String
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sipServer → String
no setterinherited
username → String
no setterinherited
wsServer → String
no setterinherited

Methods

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

Operators

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