RichLinkMetadata.fromJson constructor

RichLinkMetadata.fromJson(
  1. Map json_
)

Implementation

RichLinkMetadata.fromJson(core.Map json_)
    : this(
        driveLinkData: json_.containsKey('driveLinkData')
            ? DriveLinkData.fromJson(
                json_['driveLinkData'] as core.Map<core.String, core.dynamic>)
            : null,
        richLinkType: json_.containsKey('richLinkType')
            ? json_['richLinkType'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );