ContentChildTypePage.fromJson constructor

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

Implementation

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