PostReplies.fromJson constructor

PostReplies.fromJson(
  1. Map json_
)

Implementation

PostReplies.fromJson(core.Map json_)
    : this(
        items: json_.containsKey('items')
            ? (json_['items'] as core.List)
                .map((value) => Comment.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        totalItems: json_.containsKey('totalItems')
            ? json_['totalItems'] as core.String
            : null,
      );