Dart Documentationchrome.devtoolsOnResourceContentCommittedEvent

OnResourceContentCommittedEvent class

Fired when a new revision of the resource is committed (e.g. user saves an edited version of the resource in the Developer Tools).

class OnResourceContentCommittedEvent {
 final Resource resource;

 /**
  * New content of the resource.
  */
 final String content;

 OnResourceContentCommittedEvent(this.resource, this.content);
}

Constructors

new OnResourceContentCommittedEvent(Resource resource, String content) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
OnResourceContentCommittedEvent(this.resource, this.content);

Properties

final String content #

New content of the resource.

final String content

final Resource resource #

final Resource resource