BranchUniversalObject constructor

BranchUniversalObject({
  1. required String canonicalIdentifier,
  2. String canonicalUrl = '',
  3. String title = '',
  4. String contentDescription = '',
  5. String imageUrl = '',
  6. BranchContentMetaData? contentMetadata,
  7. List<String> keywords = const [],
  8. bool publiclyIndex = true,
  9. bool locallyIndex = true,
  10. int expirationDateInMilliSec = 0,
})

Create a BranchUniversalObject with the given content.

Implementation

BranchUniversalObject(
    {required this.canonicalIdentifier,
    this.canonicalUrl = '',
    this.title = '',
    this.contentDescription = '',
    this.imageUrl = '',
    this.contentMetadata,
    this.keywords = const [],
    this.publiclyIndex = true,
    this.locallyIndex = true,
    this.expirationDateInMilliSec = 0});