PluginDartTemp class

Template for generating the main plugin Dart file.

Inheritance

Constructors

PluginDartTemp(List<PermissionGetterSnippet> getterSnippets, {String channelName = kDefaultChannelName})
Constructor for PluginDartTemp.

Properties

channelName → String
The method channel name to use.
final
getterSnippets → List<PermissionGetterSnippet>
List of permission getter snippets to include.
final
hashCode → int
The hash code for this object.
no setterinherited
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