GetOptionGroupsResponse constructor
GetOptionGroupsResponse({
- required String scannerHandle,
- required OperationResult result,
- List<
OptionGroup> ? groups,
Implementation
GetOptionGroupsResponse({
/// Same scanner handle passed to `getOptionGroups()`.
required String scannerHandle,
/// The backend's result of getting the option groups.
required OperationResult result,
/// If `result` is `OperationResult.SUCCESS`, a list of
/// option groups in the order supplied by the backend.
List<OptionGroup>? groups,
}) : _wrapped = $js.GetOptionGroupsResponse(
scannerHandle: scannerHandle,
result: result.toJS,
groups: groups?.toJSArray((e) => e.toJS),
);