ContentDescription constructor
ContentDescription({
- required String id,
- required String title,
- required String description,
- ContentCategory? category,
- Iterable<
ImageResource> ? icons, - String? url,
Implementation
factory ContentDescription(
{required String id,
required String title,
required String description,
ContentCategory? category,
Iterable<ImageResource>? icons,
String? url}) =>
ContentDescription._(
id: id,
title: title,
description: description,
category: category?.value ?? undefined,
icons: icons ?? const [],
url: url ?? undefined);