-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSDK-8812: Add frame_rate to flutter sdk #261
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the tests actually become redundant and you can undo all your changes since we're simply returning the properties values as is.
return GetPropertiesResponse() | ||
final response = GetPropertiesResponse() | ||
..supportsPcd = properties.supportsPcd | ||
..intrinsicParameters = properties.intrinsicParameters | ||
..distortionParameters = properties.distortionParameters; | ||
if (properties.frameRate != 0) { | ||
response.frameRate = properties.frameRate; | ||
} | ||
return response; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these can actually be deleted and all you have to do is return properties
, since properties
is a typealias for GetPropertiesResponse
.
frame_rate
by returning it in getProperties in service.dartframe_rate