Creates a new Span instance
Span configuration options
Optional
Readonly
endOptional
Readonly
endOptional
Readonly
startOptional
Readonly
startConvert to JSON string
Convert to plain object for JSON serialization
Static
fromCreates a Span instance from a dictionary with automatic type conversion
Represents a time span for a dialog event or token according to the Open Floor specification. Time spans can be absolute (using Date objects) or relative (using duration offsets).
Example