ActionScrollToContainer.fromReader constructor
ActionScrollToContainer.fromReader(
- TeleportObjectReader reader
Implementation
factory ActionScrollToContainer.fromReader(TeleportObjectReader reader) {
final instance = ActionScrollToContainer();
TeleportField? field;
while ((field = reader.next()) != null) {
if (field!.isNull) continue;
switch (field.fieldId) {
case fieldIdContainerId: {
instance.containerId = field.asString();
break;
}
}
}
return instance;
}