GrovsLinkDetails class

Details of a Grovs link, as returned by Grovs().linkDetails.

Fields whose value has an unexpected type are null. Every field the backend sent is still available in raw.

Constructors

GrovsLinkDetails({int? id, String? name, String? path, String? title, String? subtitle, String? image, String? accessPath, bool? active, bool? sdkGenerated, Map<String, dynamic>? data, List<String>? tags, DateTime? updatedAt, bool? showPreviewIos, bool? showPreviewAndroid, String? generatedFromPlatform, String? adsPlatform, int? campaignId, TrackingParams? tracking, CustomRedirects? customRedirects, Map<String, dynamic> raw = const {}})
GrovsLinkDetails.fromMap(Map map)
factory

Properties

accessPath → String?
The full link URL.
final
active → bool?
final
adsPlatform → String?
final
campaignId → int?
final
customRedirects → CustomRedirects?
final
data → Map<String, dynamic>?
The payload data attached to the link, passed through as received.
final
generatedFromPlatform → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → int?
final
image → String?
URL of the link's preview image.
final
name → String?
final
path → String?
The last part of the link, for example abc123.
final
raw → Map<String, dynamic>
Every field as received. Numbers can be doubles on Android and ints on iOS; the typed fields are the same on both platforms.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sdkGenerated → bool?
final
showPreviewAndroid → bool?
final
showPreviewIos → bool?
final
subtitle → String?
final
tags → List<String>?
final
title → String?
final
tracking → TrackingParams?
final
updatedAt → DateTime?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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