PluginKotlinClassTemp class

Template for generating the Kotlin class for the Android plugin.

Includes the main plugin class and the permission handlers.

Inheritance

Constructors

PluginKotlinClassTemp({String packageName = kAndroidPackageName, String channelName = kDefaultChannelName, required List<KotlinHandlerSnippet> handlers})
Constructor for PluginKotlinClassTemp.

Properties

channelName String
The method channel name for the plugin.
final
handlers List<KotlinHandlerSnippet>
The list of permission handlers to include in the plugin.
final
hashCode int
The hash code for this object.
no setterinherited
packageName String
The package name for the plugin.
final
path String
The file path where the generated template will be saved.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate() String
Generates the content of the template as a string.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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