MethodChannelUniversalDockit class

Method-channel implementation of UniversalDockitPlatform.

Serialises DocType to its string identifier and sends filePath + docType arguments to the native handler via the universal_dockit method channel.

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
methodChannel → MethodChannel
The method channel name must match the one declared in native code.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPlatformVersion() → Future<String?>
Returns the platform version string (used for diagnostics).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openDocument({required String filePath, required DocType docType, DocumentFeatures features = const DocumentFeatures()}) → Future<bool>
Opens the document at filePath using the native viewer.
override
toString() → String
A string representation of this object.
inherited

Operators

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