ClipboardFormat class final

Represents a data format in the clipboard.

It is used to define and work with various data formats that can be stored and retrieved from the clipboard. It provides a convenient way to manage clipboard data formats and their associated identifiers and names.

Constructors

ClipboardFormat(int formatId, {String? name})
Creates an instance of ClipboardFormat with the specified formatId and an optional name.
const

Properties

formatId int
The unique identifier of the clipboard format.
final
hashCode int
The hash code for this object.
no setteroverride
name String?
An optional human-readable name for the clipboard format.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

text → const ClipboardFormat
The Unicode text format.