InjectionResult constructor

InjectionResult({
  1. Object? result,
  2. required int frameId,
  3. required String documentId,
})

Implementation

InjectionResult({
  /// The result of the script execution.
  Object? result,

  /// The frame associated with the injection.
  required int frameId,

  /// The document associated with the injection.
  required String documentId,
}) : _wrapped = $js.InjectionResult(
        result: result?.jsify(),
        frameId: frameId,
        documentId: documentId,
      );