MidiSourcePort class Null safety

A MidiPort for reading data from.

Inheritance

Constructors

MidiSourcePort(String id, {String? manufacturer, String? name, String? version})

Properties

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

Methods

close() Future<void>
Close this MidiPort
override
dispose() → void
inherited
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
override
toString() String
A string representation of this object.
inherited

Operators

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