Link.fromJson constructor

Link.fromJson(
  1. Map json_
)

Implementation

Link.fromJson(core.Map json_)
    : this(
        pageObjectId: json_.containsKey('pageObjectId')
            ? json_['pageObjectId'] as core.String
            : null,
        relativeLink: json_.containsKey('relativeLink')
            ? json_['relativeLink'] as core.String
            : null,
        slideIndex: json_.containsKey('slideIndex')
            ? json_['slideIndex'] as core.int
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );