ModuleAnnotation constructor
ModuleAnnotation({})
Implementation
factory ModuleAnnotation({
$core.String? moduleDescription,
$core.String? moduleCategory,
$core.Iterable<$core.String>? properties,
$core.Iterable<$core.String>? propertyDescriptions,
$core.Iterable<PropertyHint>? propertyHints,
$core.Iterable<DataPackage>? channelDefinition,
$core.Iterable<$core.String>? channelDescription,
$core.bool? isInjectable,
$core.Iterable<$core.String>? fileDependencies,
}) {
final $result = create();
if (moduleDescription != null) {
$result.moduleDescription = moduleDescription;
}
if (moduleCategory != null) {
$result.moduleCategory = moduleCategory;
}
if (properties != null) {
$result.properties.addAll(properties);
}
if (propertyDescriptions != null) {
$result.propertyDescriptions.addAll(propertyDescriptions);
}
if (propertyHints != null) {
$result.propertyHints.addAll(propertyHints);
}
if (channelDefinition != null) {
$result.channelDefinition.addAll(channelDefinition);
}
if (channelDescription != null) {
$result.channelDescription.addAll(channelDescription);
}
if (isInjectable != null) {
$result.isInjectable = isInjectable;
}
if (fileDependencies != null) {
$result.fileDependencies.addAll(fileDependencies);
}
return $result;
}