MidiPort class Null safety

Base class for Midi ports

Implementers

Constructors

MidiPort(String id, {String? manufacturer, String? name, MidiPortType? type, String? version, int? number})

Properties

connection Stream<MidiPortConnectionState>
Stream for listening to MidiPortConnectionState changes
read-only
hashCode int
The hash code for this object.
read-onlyinherited
id String
The ID of this midi device
final
manufacturer String?
The manufacturer
final
name String?
The displayable name of the device
final
number int?
Port number
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
state Stream<MidiPortDeviceState>
Stream for listening to MidiPortDeviceState changes
read-only
type MidiPortType?
Whether this is an input or output port
final
version String?
Device firmware version
final

Methods

close() Future<void>
Close this MidiPort
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
open() Future<void>
Attempt to open a connection to this MidiPort
toString() String
A string representation of this object.
inherited

Operators

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