ContentChildTypeComment.fromJson constructor

ContentChildTypeComment.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ContentChildTypeComment.fromJson(Map<String, Object?> json) {
  return ContentChildTypeComment(
    value: json[r'value'] as bool? ?? false,
    links: GenericLinks.fromJson(
        json[r'_links'] as Map<String, Object?>? ?? const {}),
  );
}