TextLink.fromJson constructor

TextLink.fromJson(
  1. Map json_
)

Implementation

TextLink.fromJson(core.Map json_)
    : this(
        displayText: json_.containsKey('displayText')
            ? json_['displayText'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );