EntityUserLinks.fromJson constructor

EntityUserLinks.fromJson(
  1. Map json_
)

Implementation

EntityUserLinks.fromJson(core.Map json_)
    : this(
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) => EntityUserLink.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        itemsPerPage: json_.containsKey('itemsPerPage')
            ? json_['itemsPerPage'] as core.int
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        nextLink: json_.containsKey('nextLink')
            ? json_['nextLink'] as core.String
            : null,
        previousLink: json_.containsKey('previousLink')
            ? json_['previousLink'] as core.String
            : null,
        startIndex: json_.containsKey('startIndex')
            ? json_['startIndex'] as core.int
            : null,
        totalResults: json_.containsKey('totalResults')
            ? json_['totalResults'] as core.int
            : null,
      );