ManagedShortLink.fromJson constructor

ManagedShortLink.fromJson(
  1. Map json_
)

Implementation

ManagedShortLink.fromJson(core.Map json_)
    : this(
        creationTime: json_.containsKey('creationTime')
            ? json_['creationTime'] as core.String
            : null,
        flaggedAttribute: json_.containsKey('flaggedAttribute')
            ? (json_['flaggedAttribute'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        info: json_.containsKey('info')
            ? DynamicLinkInfo.fromJson(
                json_['info'] as core.Map<core.String, core.dynamic>)
            : null,
        link: json_.containsKey('link') ? json_['link'] as core.String : null,
        linkName: json_.containsKey('linkName')
            ? json_['linkName'] as core.String
            : null,
        visibility: json_.containsKey('visibility')
            ? json_['visibility'] as core.String
            : null,
      );