AppstreamComponent constructor
const
AppstreamComponent({
- required String id,
- required AppstreamComponentType type,
- required String? package,
- required Map<
String, String> name, - required Map<
String, String> summary, - Map<
String, String> description = const {}, - Map<
String, String> developerName = const {}, - String? projectLicense,
- String? projectGroup,
- List<
AppstreamIcon> icons = const [], - List<
AppstreamUrl> urls = const [], - List<
String> categories = const [], - Map<
String, List< keywords = const {},String> > - List<
AppstreamScreenshot> screenshots = const [], - List<
String> compulsoryForDesktops = const [], - List<
AppstreamRelease> releases = const [], - List<
AppstreamProvides> provides = const [], - List<
AppstreamLaunchable> launchables = const [], - List<
AppstreamLanguage> languages = const [], - Map<
String, Map< contentRatings = const {},String, AppstreamContentRating> >
Creates a new Appstream component.
Implementation
const AppstreamComponent(
{required this.id,
required this.type,
required this.package,
required this.name,
required this.summary,
this.description = const {},
this.developerName = const {},
this.projectLicense,
this.projectGroup,
this.icons = const [],
this.urls = const [],
this.categories = const [],
this.keywords = const {},
this.screenshots = const [],
this.compulsoryForDesktops = const [],
this.releases = const [],
this.provides = const [],
this.launchables = const [],
this.languages = const [],
this.contentRatings = const {}});