CodeSettings class

Code Settings.

ID: ad253d78.

Inheritance

Constructors

CodeSettings({required bool allowFlashcall, required bool currentNumber, required bool allowAppHash, required bool allowMissedCall, required bool allowFirebase, List<Uint8List>? logoutTokens, String? token, required bool appSandbox})
Code Settings constructor.
const
CodeSettings.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

allowAppHash bool
allow_app_hash: bit 4 of flags.4?true
final
allowFirebase bool
allow_firebase: bit 7 of flags.7?true
final
allowFlashcall bool
allow_flashcall: bit 0 of flags.0?true
final
allowMissedCall bool
allow_missed_call: bit 5 of flags.5?true
final
appSandbox bool
app_sandbox: bit 8 of flags.8?Bool
final
currentNumber bool
current_number: bit 1 of flags.1?true
final
flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
logoutTokens List<Uint8List>?
Logout Tokens.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
Token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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