MethodChannelShareplay class

An implementation of ShareplayPlatform that uses method channels.

Inheritance

Constructors

MethodChannelShareplay()

Properties

dataChannel EventChannel
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
newSessionChannel EventChannel
final
participantsChannel EventChannel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionStateChannel EventChannel
final

Methods

currentSession() Future<SPSession?>
override
dataStream() Stream<SPDataModel>
override
end() Future
override
join() Future
override
leave() Future
override
localParticipant() Future<SPParticipant?>
override
newSessionStream() Stream<SPSession>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
participantsStream() Stream<List<SPParticipant>>
override
send(String data) Future
override
sessionStateStream() Stream<SPSessionState>
override
start({required String title}) Future<bool>
override
toString() String
A string representation of this object.
inherited

Operators

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