PostUserInfo.fromJson constructor

PostUserInfo.fromJson(
  1. Map json_
)

Implementation

PostUserInfo.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        post: json_.containsKey('post')
            ? Post.fromJson(
                json_['post'] as core.Map<core.String, core.dynamic>)
            : null,
        postUserInfo: json_.containsKey('post_user_info')
            ? PostPerUserInfo.fromJson(json_['post_user_info']
                as core.Map<core.String, core.dynamic>)
            : null,
      );