NotificationSound class

Describes a notification sound in MP3 format.

Inheritance
Available Extensions

Constructors

NotificationSound({required int64 id, required int duration, required int date, required String title, required String data, required File sound, int? extra, int? clientId})
Describes a notification sound in MP3 format

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
data String
Arbitrary data, defined while the sound was uploaded.
read / write
date int
Point in time (Unix timestamp) when the sound was created.
read / write
duration int
Duration of the sound, in seconds.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
id int64
Unique identifier of the notification sound. ; string representation of int, use int.parse
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
sound File
File containing the sound.
read / write
title String
Title of the notification sound.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) NotificationSound?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"notificationSound"