BranchUniversalObject class

Constructors

BranchUniversalObject({required String canonicalIdentifier, String canonicalUrl = '', String title = '', String contentDescription = '', String imageUrl = '', BranchContentMetaData? contentMetadata, List<String> keywords = const [], bool publiclyIndex = true, bool locallyIndex = true, int expirationDateInMilliSec = 0})
Create a BranchUniversalObject with the given content.

Properties

canonicalIdentifier String
final
canonicalUrl String
getter/setter pair
contentDescription String
getter/setter pair
contentMetadata BranchContentMetaData?
getter/setter pair
expirationDateInMilliSec int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
imageUrl String
getter/setter pair
keywords List<String>
getter/setter pair
locallyIndex bool
getter/setter pair
publiclyIndex bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
getter/setter pair

Methods

addKeyWord(String keyword) → void
Add a keyword associated with the content referred
addKeyWords(List<String> keywords) → void
Adds any keywords associated with the content referred
getKeywords() List<String>
Get the keywords associated with this BranchUniversalObject
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeKeyWord(String keyword) → void
Remove a keyword associated with the content referred
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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