MetronomePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • MetronomePlatform
Implementers

Constructors

MetronomePlatform.new()
Constructs a MetronomePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destory() Future<void>
getVolume() Future<double?>
isPlaying() Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play(double bpm) Future<void>
setAudioFile(String path) Future<void>
setBPM(double bpm) Future<void>
setVolume(double volume) Future<void>
stop() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance MetronomePlatform
The default instance of MetronomePlatform to use.
getter/setter pair