SmartPosterRecord.fromList constructor
SmartPosterRecord.fromList({
- List<
TextRecord> ? titleRecords, - List<
UriRecord> ? uriRecords, - List<
ActionRecord> ? actionRecords, - List<
MimeRecord> ? iconRecords, - List<
SizeRecord> ? sizeRecords, - List<
TypeRecord> ? typeRecords,
Implementation
SmartPosterRecord.fromList({
List<TextRecord>? titleRecords,
List<UriRecord>? uriRecords,
List<ActionRecord>? actionRecords,
List<MimeRecord>? iconRecords,
List<SizeRecord>? sizeRecords,
List<TypeRecord>? typeRecords,
}) {
_init();
if (titleRecords != null) {
for (var r in titleRecords) {
addTitleRecord(r);
}
}
if (uriRecords != null) {
for (var r in uriRecords) {
addUriRecord(r);
}
}
if (actionRecords != null) {
for (var r in actionRecords) {
addActionRecord(r);
}
}
if (iconRecords != null) {
for (var r in iconRecords) {
addIconRecord(r);
}
}
if (sizeRecords != null) {
for (var r in sizeRecords) {
addSizeRecord(r);
}
}
if (typeRecords != null) {
for (var r in typeRecords) {
addTypeRecord(r);
}
}
}