MediaNotificationx class Null safety

Constructors

MediaNotificationx()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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

Static Methods

setListener(String event, Function callback) → dynamic
Set listener for all action we need to listen of notification.
showNotificationManager({dynamic title = '', dynamic author = '', dynamic imageUrl = '', dynamic isPlaying = true}) Future
To show your media notification you have to pass title and author and Image of music. If music is pausing you have to set isPlaying false.