PostPerUserInfo.fromJson constructor

PostPerUserInfo.fromJson(
  1. Map json_
)

Implementation

PostPerUserInfo.fromJson(core.Map json_)
    : this(
        blogId: json_.containsKey('blogId')
            ? json_['blogId'] as core.String
            : null,
        hasEditAccess: json_.containsKey('hasEditAccess')
            ? json_['hasEditAccess'] as core.bool
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        postId: json_.containsKey('postId')
            ? json_['postId'] as core.String
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
      );