Comment.fromJson constructor

Comment.fromJson(
  1. Map json_
)

Implementation

Comment.fromJson(core.Map json_)
  : this(
      developerComment:
          json_.containsKey('developerComment')
              ? DeveloperComment.fromJson(
                json_['developerComment']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      userComment:
          json_.containsKey('userComment')
              ? UserComment.fromJson(
                json_['userComment'] as core.Map<core.String, core.dynamic>,
              )
              : null,
    );