SetOptionResult constructor

SetOptionResult({
  1. required String name,
  2. required OperationResult result,
})

Implementation

SetOptionResult({
  /// Name of the option that was set.
  required String name,

  /// Backend result of setting the option.
  required OperationResult result,
}) : _wrapped = $js.SetOptionResult(
        name: name,
        result: result.toJS,
      );