Links.fromJson constructor

Links.fromJson(
  1. Map json_
)

Implementation

Links.fromJson(core.Map json_)
    : this(
        droppedLinksCount: json_.containsKey('droppedLinksCount')
            ? json_['droppedLinksCount'] as core.int
            : null,
        link: json_.containsKey('link')
            ? (json_['link'] as core.List)
                .map((value) => Link.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );