Background class

Implemented types

Constructors

Background({int id, bool isDefault, bool isDark, String name, Document document, dynamic type})
Describes a chat background. id Unique background identifier. isDefault True, if this is one of default backgrounds. isDark True, if the background is dark and is recommended to be used with dark theme. name Unique background name. document Document with the background; may be null. Null only for solid backgrounds. type Type of the background
Background.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

document Document
read / write
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
isDark bool
read / write
isDefault bool
read / write
name String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type ↔ dynamic
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"background"