Comment.fromJson constructor

Comment.fromJson(
  1. Map json_
)

Implementation

Comment.fromJson(core.Map json_)
    : this(
        body: json_.containsKey('body') ? json_['body'] as core.String : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        creator: json_.containsKey('creator')
            ? Actor.fromJson(
                json_['creator'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        plainTextBody: json_.containsKey('plainTextBody')
            ? json_['plainTextBody'] as core.String
            : null,
      );