ObjectView constructor
ObjectView({
- String? rootId,
- Iterable<
Block> ? blocks, - Iterable<
ObjectView_DetailsSet> ? details, - SmartBlockType? type,
- Iterable<
Relation> ? relations, - Restrictions? restrictions,
- ObjectView_HistorySize? history,
- Iterable<
RelationLink> ? relationLinks, - Iterable<
ObjectView_BlockParticipant> ? blockParticipants,
Implementation
factory ObjectView({
$core.String? rootId,
$core.Iterable<Block>? blocks,
$core.Iterable<ObjectView_DetailsSet>? details,
SmartBlockType? type,
$core.Iterable<Relation>? relations,
Restrictions? restrictions,
ObjectView_HistorySize? history,
$core.Iterable<RelationLink>? relationLinks,
$core.Iterable<ObjectView_BlockParticipant>? blockParticipants,
}) {
final result = create();
if (rootId != null) result.rootId = rootId;
if (blocks != null) result.blocks.addAll(blocks);
if (details != null) result.details.addAll(details);
if (type != null) result.type = type;
if (relations != null) result.relations.addAll(relations);
if (restrictions != null) result.restrictions = restrictions;
if (history != null) result.history = history;
if (relationLinks != null) result.relationLinks.addAll(relationLinks);
if (blockParticipants != null)
result.blockParticipants.addAll(blockParticipants);
return result;
}