generate method
Generates the content of the template as a string.
Implementation
@override
String generate() {
return '''
# GENERATED FILE - DO NOT MODIFY BY HAND
Pod::Spec.new do |s|
s.name = '$pluginName'
s.version = '1.0.0'
s.summary = 'Native permission handling for Flutter.'
s.homepage = 'https://github.com/Milad-Akarie/permit'
s.author = { 'Codeness.ly' => 'support@codeness.ly' }
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.platform = :ios, '$minIosVersion'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.swift_version = '5.0'
end
''';
}