toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (previewLink != null) 'previewLink': previewLink!,
      if (shortLink != null) 'shortLink': shortLink!,
      if (warning != null) 'warning': warning!,
    };