[
  {
    "path": ".gitignore",
    "content": ".DS_Store\n.atom/\n.dart_tool/\n.idea\n.idea/\n.packages\n.pub/\npackages\n"
  },
  {
    "path": "CHANGELOG.md",
    "content": "## [0.1.3] - TODO: 27-03-2019.\n\n* Upgrade dependencies and added example\n\n## [0.1.2] - TODO: 27-03-2019.\n\n* Fix delete dartdoc\n\n## [0.1.1] - TODO: 26-11-2018.\n\n* Fix 'AUTHORIZATION' is deprecated and added dartdoc \n\n## [0.1.0] - TODO: 25-11-2018.\n\n* Support Dart 2.0 and added Support for Dialogflow V2\n\n\n## [0.0.1] - TODO: 27-05-2018.\n\n* The flutter_dialogflow makes it easy to integrate dialogflow\n"
  },
  {
    "path": "LICENSE",
    "content": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright [yyyy] [name of copyright owner]\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n"
  },
  {
    "path": "README.md",
    "content": "# Dialogflow v1 & v2 for Flutter apps.\n\n\n![Dialogflow](https://github.com/VictorRancesCode/flutter_dialogflow/raw/master/dialogflow.png) \n\n### :heart: Star :heart: the repo to support the project. Thanks!\n\nA new Flutter package.\n* [Example](https://github.com/VictorRancesCode/flutter_dialogflow/tree/master/example)\n\n\n<p align=\"center\">\n  <img src=\"image1.png\" width=\"350\"/>\n</p>\n\n## Awesome Tutorials\n* [Flutter and Bots (DialogFlow)](https://medium.com/flutterpub/flutter-and-bots-dialogflow-d490fc7e5aaf). By [Aseem Wangoo](https://medium.com/@aseemwangoo)\n* [Chatbot Inventory Tracking iOS & Android App with Flutter, DialogFlow, and GCP](https://medium.com/flutter-community/chatbot-inventory-tracking-ios-android-app-with-flutter-dialogflow-and-gcp-d7d903ce7f90). By [Alfian Losari](https://medium.com/@alfianlosari)\n\nThanks for the tutorials!\n## Installation\n\n* Add this to your package's pubspec.yaml file:\n```\ndependencies:\n  flutter_dialogflow: ^0.1.0\n```\n* You can install packages from the command line:\n  with Flutter:\n```\n$ flutter packages get\n```\n\n* Dialogflow v1  Import it Now in your Dart code, you can use:\n```\n import 'package:flutter_dialogflow/flutter_dialogflow.dart';\n```\n* Or Dialogflow v2  Import it Now in your Dart code, you can use:\n```\n import 'package:flutter_dialogflow/dialogflow_v2.dart';\n```\n\n## Usage\n### Dialogflow v1\n* [Dialogflow](https://dialogflow.com/) register and create new Agent\n* Copy Api key (Token)\n* Code\n```\n  Dialogflow dialogflow = Dialogflow(token: \"Your Token\");\n  AIResponse response = await dialogflow.sendQuery(\"Your Query\");\n```\n* Example\n```\n  void Response(query) async {\n    Dialogflow dialogflow = Dialogflow(token: \"10178f9cb6cf12321asdf4aae75c87cd\");\n    AIResponse response = await dialogflow.sendQuery(query);\n    print(response.getMessageResponse());\n  }\n```\n\n\n### Dialogflow v2\n* Dialogflow](https://dialogflow.com/) register and create new Agent\n* Project Setup and Authentication\n    * First of all, we need to create a Google Cloud Platform Project using [Console Google Cloud](https://console.cloud.google.com/)\n    * Create or select an existing GCP project.\n    * From the GCP console, go to APIs and Services and click on credentials. \n    * Click on Create credentials and choose Service account key.\n    * Select your service account from the dropdown, choose JSON and click Create. This will download the JSON key to your computer. Save it securely.\n    * We downloaded a JSON file with all our data.\n* In your project create folder assets(folder name recommended optional)\n* Move file json in your project in folder created\n* open file pubspec.yaml\n```\nflutter:\n  uses-material-design: true\n  assets:\n    - assets/your_file_downloaded_google_cloud.json\n```\n* Import dialogflow_v2\n```\nimport 'package:flutter_dialogflow/dialogflow_v2.dart';\n```\n\n* Code\n```\n  AuthGoogle authGoogle = await AuthGoogle(fileJson: \"Asset Your File Json\").build();\n  // Select Language.ENGLISH or Language.SPANISH or others...\n  Dialogflow dialogflow =Dialogflow(authGoogle: authGoogle,language: Language.ENGLISH); \n  AIResponse response = await dialogflow.detectIntent(\"Your Query\");\n```\n\n* Example\n```\n  AuthGoogle authGoogle = await AuthGoogle(fileJson: \"assets/your_file_downloaded_google_cloud.json\").build();\n  Dialogflow dialogflow = Dialogflow(authGoogle: authGoogle,language: Language.ENGLISH);\n  AIResponse response = await dialogflow.detectIntent(\"Hi!!!\");\n  print(response.getMessage())\n```\n\n* Or Get List Message type Card \n```\nCall function response.getListMessage() \nresponse List<dynamic>\nexample \nnew CardDialogflow(response.getListMessage()[0]).title\nConvert first item in CardDialogflow for worked easy\nCardDialogflow have\n- title\n- subtitle\n- imageUri\n- List buttonss\n    - each button have text and postback\n```\n* Or Setup custom authentication (session)\n```\nGet a session id from your backend server after authentication.(Eg: OAuth Token)\nPass the session id a named parameter 'sessionId' to AuthGoogle function.\nOn the dialogflow fulfillment, access it inside `agent.session` (WebhookClient.session)\nand apply your session logic\n\nExample:\n  AuthGoogle authGoogle = await AuthGoogle(fileJson: \"assets/your_file_downloaded_google_cloud.json\", sessionId: \"YOUR_CUSTOM_SESSION_ID\").build();\n  Dialogflow dialogflow = Dialogflow(authGoogle: authGoogle,language: Language.ENGLISH);\n  AIResponse response = await dialogflow.detectIntent(\"Hi!!!\");\n  print(response.getMessage())\n\n```\n\n![Demo](https://github.com/VictorRancesCode/flutter_dialogflow/raw/master/demo.jpg) \n\n### Dialogflow For Flutter Web\nVisit the repository: [Flutter Dialogflow Web](https://github.com/VictorRancesCode/flutter_dialogflow_web) 🚀\n"
  },
  {
    "path": "example/.gitignore",
    "content": ".DS_Store\n.atom/\n.dart_tool/\n.idea\n.vscode/\n.packages\n.pub/\nbuild/\nios/.generated/\npackages\n.flutter-plugins\nassets/"
  },
  {
    "path": "example/.metadata",
    "content": "# This file tracks properties of this Flutter project.\n# Used by Flutter tool to assess capabilities and perform upgrades etc.\n#\n# This file should be version controlled and should not be manually edited.\n\nversion:\n  revision: b397406561f5e7a9c94e28f58d9e49fca0dd58b7\n  channel: beta\n"
  },
  {
    "path": "example/README.md",
    "content": "# example\n\nA new Flutter project.\n\n## Getting Started\n\nFor help getting started with Flutter, view our online\n[documentation](https://flutter.io/).\n"
  },
  {
    "path": "example/android/.gitignore",
    "content": "*.iml\n*.class\n.gradle\n/local.properties\n/.idea/workspace.xml\n/.idea/libraries\n.DS_Store\n/build\n/captures\nGeneratedPluginRegistrant.java\n"
  },
  {
    "path": "example/android/app/build.gradle",
    "content": "def localProperties = new Properties()\ndef localPropertiesFile = rootProject.file('local.properties')\nif (localPropertiesFile.exists()) {\n    localPropertiesFile.withReader('UTF-8') { reader ->\n        localProperties.load(reader)\n    }\n}\n\ndef flutterRoot = localProperties.getProperty('flutter.sdk')\nif (flutterRoot == null) {\n    throw new GradleException(\"Flutter SDK not found. Define location with flutter.sdk in the local.properties file.\")\n}\n\napply plugin: 'com.android.application'\napply from: \"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle\"\n\nandroid {\n    compileSdkVersion 28\n\n    lintOptions {\n        disable 'InvalidPackage'\n    }\n\n    defaultConfig {\n        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).\n        applicationId \"com.codigopanda.example\"\n        minSdkVersion 16\n        targetSdkVersion 28\n        versionCode 1\n        versionName \"1.0\"\n        testInstrumentationRunner \"android.support.test.runner.AndroidJUnitRunner\"\n    }\n\n    buildTypes {\n        release {\n            // TODO: Add your own signing config for the release build.\n            // Signing with the debug keys for now, so `flutter run --release` works.\n            signingConfig signingConfigs.debug\n        }\n    }\n}\n\nflutter {\n    source '../..'\n}\n\ndependencies {\n    testImplementation 'junit:junit:4.12'\n    androidTestImplementation 'com.android.support.test:runner:1.0.1'\n    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'\n}\n"
  },
  {
    "path": "example/android/app/src/main/AndroidManifest.xml",
    "content": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    package=\"com.codigopanda.example\">\n\n    <!-- The INTERNET permission is required for development. Specifically,\n         flutter needs it to communicate with the running application\n         to allow setting breakpoints, to provide hot reload, etc.\n    -->\n    <uses-permission android:name=\"android.permission.INTERNET\"/>\n\n    <!-- io.flutter.app.FlutterApplication is an android.app.Application that\n         calls FlutterMain.startInitialization(this); in its onCreate method.\n         In most cases you can leave this as-is, but you if you want to provide\n         additional functionality it is fine to subclass or reimplement\n         FlutterApplication and put your custom class here. -->\n    <application\n        android:name=\"io.flutter.app.FlutterApplication\"\n        android:label=\"example\"\n        android:icon=\"@mipmap/ic_launcher\">\n        <activity\n            android:name=\".MainActivity\"\n            android:launchMode=\"singleTop\"\n            android:theme=\"@style/LaunchTheme\"\n            android:configChanges=\"orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density\"\n            android:hardwareAccelerated=\"true\"\n            android:windowSoftInputMode=\"adjustResize\">\n            <!-- This keeps the window background of the activity showing\n                 until Flutter renders its first frame. It can be removed if\n                 there is no splash screen (such as the default splash screen\n                 defined in @style/LaunchTheme). -->\n            <meta-data\n                android:name=\"io.flutter.app.android.SplashScreenUntilFirstFrame\"\n                android:value=\"true\" />\n            <intent-filter>\n                <action android:name=\"android.intent.action.MAIN\"/>\n                <category android:name=\"android.intent.category.LAUNCHER\"/>\n            </intent-filter>\n        </activity>\n    </application>\n</manifest>\n"
  },
  {
    "path": "example/android/app/src/main/java/com/codigopanda/example/MainActivity.java",
    "content": "package com.codigopanda.example;\n\nimport android.os.Bundle;\n\nimport io.flutter.app.FlutterActivity;\nimport io.flutter.plugins.GeneratedPluginRegistrant;\n\npublic class MainActivity extends FlutterActivity {\n  @Override\n  protected void onCreate(Bundle savedInstanceState) {\n    super.onCreate(savedInstanceState);\n    GeneratedPluginRegistrant.registerWith(this);\n  }\n}\n"
  },
  {
    "path": "example/android/app/src/main/res/drawable/launch_background.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Modify this file to customize your launch splash screen -->\n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android\">\n    <item android:drawable=\"@android:color/white\" />\n\n    <!-- You can insert your own image assets here -->\n    <!-- <item>\n        <bitmap\n            android:gravity=\"center\"\n            android:src=\"@mipmap/launch_image\" />\n    </item> -->\n</layer-list>\n"
  },
  {
    "path": "example/android/app/src/main/res/values/styles.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n    <style name=\"LaunchTheme\" parent=\"@android:style/Theme.Black.NoTitleBar\">\n        <!-- Show a splash screen on the activity. Automatically removed when\n             Flutter draws its first frame -->\n        <item name=\"android:windowBackground\">@drawable/launch_background</item>\n    </style>\n</resources>\n"
  },
  {
    "path": "example/android/build.gradle",
    "content": "buildscript {\n    repositories {\n        google()\n        jcenter()\n    }\n\n    dependencies {\n        classpath 'com.android.tools.build:gradle:3.1.2'\n    }\n}\n\nallprojects {\n    repositories {\n        google()\n        jcenter()\n    }\n}\n\nrootProject.buildDir = '../build'\nsubprojects {\n    project.buildDir = \"${rootProject.buildDir}/${project.name}\"\n}\nsubprojects {\n    project.evaluationDependsOn(':app')\n}\n\ntask clean(type: Delete) {\n    delete rootProject.buildDir\n}\n"
  },
  {
    "path": "example/android/gradle/wrapper/gradle-wrapper.properties",
    "content": "#Fri Jun 23 08:50:38 CEST 2017\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_HOME\nzipStorePath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributions/gradle-4.4-all.zip\n"
  },
  {
    "path": "example/android/gradle.properties",
    "content": "org.gradle.jvmargs=-Xmx1536M\n"
  },
  {
    "path": "example/android/gradlew",
    "content": "#!/usr/bin/env bash\n\n##############################################################################\n##\n##  Gradle start up script for UN*X\n##\n##############################################################################\n\n# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\nDEFAULT_JVM_OPTS=\"\"\n\nAPP_NAME=\"Gradle\"\nAPP_BASE_NAME=`basename \"$0\"`\n\n# Use the maximum available, or set MAX_FD != -1 to use that value.\nMAX_FD=\"maximum\"\n\nwarn ( ) {\n    echo \"$*\"\n}\n\ndie ( ) {\n    echo\n    echo \"$*\"\n    echo\n    exit 1\n}\n\n# OS specific support (must be 'true' or 'false').\ncygwin=false\nmsys=false\ndarwin=false\ncase \"`uname`\" in\n  CYGWIN* )\n    cygwin=true\n    ;;\n  Darwin* )\n    darwin=true\n    ;;\n  MINGW* )\n    msys=true\n    ;;\nesac\n\n# Attempt to set APP_HOME\n# Resolve links: $0 may be a link\nPRG=\"$0\"\n# Need this for relative symlinks.\nwhile [ -h \"$PRG\" ] ; do\n    ls=`ls -ld \"$PRG\"`\n    link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n    if expr \"$link\" : '/.*' > /dev/null; then\n        PRG=\"$link\"\n    else\n        PRG=`dirname \"$PRG\"`\"/$link\"\n    fi\ndone\nSAVED=\"`pwd`\"\ncd \"`dirname \\\"$PRG\\\"`/\" >/dev/null\nAPP_HOME=\"`pwd -P`\"\ncd \"$SAVED\" >/dev/null\n\nCLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar\n\n# Determine the Java command to use to start the JVM.\nif [ -n \"$JAVA_HOME\" ] ; then\n    if [ -x \"$JAVA_HOME/jre/sh/java\" ] ; then\n        # IBM's JDK on AIX uses strange locations for the executables\n        JAVACMD=\"$JAVA_HOME/jre/sh/java\"\n    else\n        JAVACMD=\"$JAVA_HOME/bin/java\"\n    fi\n    if [ ! -x \"$JAVACMD\" ] ; then\n        die \"ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\n    fi\nelse\n    JAVACMD=\"java\"\n    which java >/dev/null 2>&1 || die \"ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\n\nPlease set the JAVA_HOME variable in your environment to match the\nlocation of your Java installation.\"\nfi\n\n# Increase the maximum file descriptors if we can.\nif [ \"$cygwin\" = \"false\" -a \"$darwin\" = \"false\" ] ; then\n    MAX_FD_LIMIT=`ulimit -H -n`\n    if [ $? -eq 0 ] ; then\n        if [ \"$MAX_FD\" = \"maximum\" -o \"$MAX_FD\" = \"max\" ] ; then\n            MAX_FD=\"$MAX_FD_LIMIT\"\n        fi\n        ulimit -n $MAX_FD\n        if [ $? -ne 0 ] ; then\n            warn \"Could not set maximum file descriptor limit: $MAX_FD\"\n        fi\n    else\n        warn \"Could not query maximum file descriptor limit: $MAX_FD_LIMIT\"\n    fi\nfi\n\n# For Darwin, add options to specify how the application appears in the dock\nif $darwin; then\n    GRADLE_OPTS=\"$GRADLE_OPTS \\\"-Xdock:name=$APP_NAME\\\" \\\"-Xdock:icon=$APP_HOME/media/gradle.icns\\\"\"\nfi\n\n# For Cygwin, switch paths to Windows format before running java\nif $cygwin ; then\n    APP_HOME=`cygpath --path --mixed \"$APP_HOME\"`\n    CLASSPATH=`cygpath --path --mixed \"$CLASSPATH\"`\n    JAVACMD=`cygpath --unix \"$JAVACMD\"`\n\n    # We build the pattern for arguments to be converted via cygpath\n    ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`\n    SEP=\"\"\n    for dir in $ROOTDIRSRAW ; do\n        ROOTDIRS=\"$ROOTDIRS$SEP$dir\"\n        SEP=\"|\"\n    done\n    OURCYGPATTERN=\"(^($ROOTDIRS))\"\n    # Add a user-defined pattern to the cygpath arguments\n    if [ \"$GRADLE_CYGPATTERN\" != \"\" ] ; then\n        OURCYGPATTERN=\"$OURCYGPATTERN|($GRADLE_CYGPATTERN)\"\n    fi\n    # Now convert the arguments - kludge to limit ourselves to /bin/sh\n    i=0\n    for arg in \"$@\" ; do\n        CHECK=`echo \"$arg\"|egrep -c \"$OURCYGPATTERN\" -`\n        CHECK2=`echo \"$arg\"|egrep -c \"^-\"`                                 ### Determine if an option\n\n        if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then                    ### Added a condition\n            eval `echo args$i`=`cygpath --path --ignore --mixed \"$arg\"`\n        else\n            eval `echo args$i`=\"\\\"$arg\\\"\"\n        fi\n        i=$((i+1))\n    done\n    case $i in\n        (0) set -- ;;\n        (1) set -- \"$args0\" ;;\n        (2) set -- \"$args0\" \"$args1\" ;;\n        (3) set -- \"$args0\" \"$args1\" \"$args2\" ;;\n        (4) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" ;;\n        (5) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" ;;\n        (6) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" ;;\n        (7) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" ;;\n        (8) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" ;;\n        (9) set -- \"$args0\" \"$args1\" \"$args2\" \"$args3\" \"$args4\" \"$args5\" \"$args6\" \"$args7\" \"$args8\" ;;\n    esac\nfi\n\n# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules\nfunction splitJvmOpts() {\n    JVM_OPTS=(\"$@\")\n}\neval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS\nJVM_OPTS[${#JVM_OPTS[*]}]=\"-Dorg.gradle.appname=$APP_BASE_NAME\"\n\nexec \"$JAVACMD\" \"${JVM_OPTS[@]}\" -classpath \"$CLASSPATH\" org.gradle.wrapper.GradleWrapperMain \"$@\"\n"
  },
  {
    "path": "example/android/gradlew.bat",
    "content": "@if \"%DEBUG%\" == \"\" @echo off\r\n@rem ##########################################################################\r\n@rem\r\n@rem  Gradle startup script for Windows\r\n@rem\r\n@rem ##########################################################################\r\n\r\n@rem Set local scope for the variables with windows NT shell\r\nif \"%OS%\"==\"Windows_NT\" setlocal\r\n\r\n@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.\r\nset DEFAULT_JVM_OPTS=\r\n\r\nset DIRNAME=%~dp0\r\nif \"%DIRNAME%\" == \"\" set DIRNAME=.\r\nset APP_BASE_NAME=%~n0\r\nset APP_HOME=%DIRNAME%\r\n\r\n@rem Find java.exe\r\nif defined JAVA_HOME goto findJavaFromJavaHome\r\n\r\nset JAVA_EXE=java.exe\r\n%JAVA_EXE% -version >NUL 2>&1\r\nif \"%ERRORLEVEL%\" == \"0\" goto init\r\n\r\necho.\r\necho ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.\r\necho.\r\necho Please set the JAVA_HOME variable in your environment to match the\r\necho location of your Java installation.\r\n\r\ngoto fail\r\n\r\n:findJavaFromJavaHome\r\nset JAVA_HOME=%JAVA_HOME:\"=%\r\nset JAVA_EXE=%JAVA_HOME%/bin/java.exe\r\n\r\nif exist \"%JAVA_EXE%\" goto init\r\n\r\necho.\r\necho ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%\r\necho.\r\necho Please set the JAVA_HOME variable in your environment to match the\r\necho location of your Java installation.\r\n\r\ngoto fail\r\n\r\n:init\r\n@rem Get command-line arguments, handling Windowz variants\r\n\r\nif not \"%OS%\" == \"Windows_NT\" goto win9xME_args\r\nif \"%@eval[2+2]\" == \"4\" goto 4NT_args\r\n\r\n:win9xME_args\r\n@rem Slurp the command line arguments.\r\nset CMD_LINE_ARGS=\r\nset _SKIP=2\r\n\r\n:win9xME_args_slurp\r\nif \"x%~1\" == \"x\" goto execute\r\n\r\nset CMD_LINE_ARGS=%*\r\ngoto execute\r\n\r\n:4NT_args\r\n@rem Get arguments from the 4NT Shell from JP Software\r\nset CMD_LINE_ARGS=%$\r\n\r\n:execute\r\n@rem Setup the command line\r\n\r\nset CLASSPATH=%APP_HOME%\\gradle\\wrapper\\gradle-wrapper.jar\r\n\r\n@rem Execute Gradle\r\n\"%JAVA_EXE%\" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% \"-Dorg.gradle.appname=%APP_BASE_NAME%\" -classpath \"%CLASSPATH%\" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%\r\n\r\n:end\r\n@rem End local scope for the variables with windows NT shell\r\nif \"%ERRORLEVEL%\"==\"0\" goto mainEnd\r\n\r\n:fail\r\nrem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of\r\nrem the _cmd.exe /c_ return code!\r\nif  not \"\" == \"%GRADLE_EXIT_CONSOLE%\" exit 1\r\nexit /b 1\r\n\r\n:mainEnd\r\nif \"%OS%\"==\"Windows_NT\" endlocal\r\n\r\n:omega\r\n"
  },
  {
    "path": "example/android/settings.gradle",
    "content": "include ':app'\n\ndef flutterProjectRoot = rootProject.projectDir.parentFile.toPath()\n\ndef plugins = new Properties()\ndef pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')\nif (pluginsFile.exists()) {\n    pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }\n}\n\nplugins.each { name, path ->\n    def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()\n    include \":$name\"\n    project(\":$name\").projectDir = pluginDirectory\n}\n"
  },
  {
    "path": "example/example.iml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module type=\"JAVA_MODULE\" version=\"4\">\n  <component name=\"NewModuleRootManager\" inherit-compiler-output=\"true\">\n    <exclude-output />\n    <content url=\"file://$MODULE_DIR$\">\n      <excludeFolder url=\"file://$MODULE_DIR$/.pub\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build\" />\n    </content>\n    <orderEntry type=\"sourceFolder\" forTests=\"false\" />\n    <orderEntry type=\"library\" name=\"Dart SDK\" level=\"project\" />\n    <orderEntry type=\"library\" name=\"Dart Packages\" level=\"project\" />\n  </component>\n</module>"
  },
  {
    "path": "example/example_android.iml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module type=\"JAVA_MODULE\" version=\"4\">\n  <component name=\"FacetManager\">\n    <facet type=\"android\" name=\"Android\">\n      <configuration>\n        <option name=\"GEN_FOLDER_RELATIVE_PATH_APT\" value=\"/android/gen\" />\n        <option name=\"GEN_FOLDER_RELATIVE_PATH_AIDL\" value=\"/android/gen\" />\n        <option name=\"MANIFEST_FILE_RELATIVE_PATH\" value=\"/android/AndroidManifest.xml\" />\n        <option name=\"RES_FOLDER_RELATIVE_PATH\" value=\"/android/res\" />\n        <option name=\"ASSETS_FOLDER_RELATIVE_PATH\" value=\"/android/assets\" />\n        <option name=\"LIBS_FOLDER_RELATIVE_PATH\" value=\"/android/libs\" />\n        <option name=\"PROGUARD_LOGS_FOLDER_RELATIVE_PATH\" value=\"/android/proguard_logs\" />\n      </configuration>\n    </facet>\n  </component>\n  <component name=\"NewModuleRootManager\" inherit-compiler-output=\"true\">\n    <exclude-output />\n    <content url=\"file://$MODULE_DIR$/android\">\n      <sourceFolder url=\"file://$MODULE_DIR$/android/app/src/main/java\" isTestSource=\"false\" />\n      <sourceFolder url=\"file://$MODULE_DIR$/android/gen\" isTestSource=\"false\" generated=\"true\" />\n    </content>\n    <orderEntry type=\"jdk\" jdkName=\"Android API 25 Platform\" jdkType=\"Android SDK\" />\n    <orderEntry type=\"sourceFolder\" forTests=\"false\" />\n    <orderEntry type=\"library\" name=\"Flutter for Android\" level=\"project\" />\n  </component>\n</module>\n"
  },
  {
    "path": "example/ios/.gitignore",
    "content": ".idea/\n.vagrant/\n.sconsign.dblite\n.svn/\n\n.DS_Store\n*.swp\nprofile\n\nDerivedData/\nbuild/\nGeneratedPluginRegistrant.h\nGeneratedPluginRegistrant.m\n\n*.pbxuser\n*.mode1v3\n*.mode2v3\n*.perspectivev3\n\n!default.pbxuser\n!default.mode1v3\n!default.mode2v3\n!default.perspectivev3\n\nxcuserdata\n\n*.moved-aside\n\n*.pyc\n*sync/\nIcon?\n.tags*\n\n/Flutter/app.flx\n/Flutter/app.zip\n/Flutter/flutter_assets/\n/Flutter/App.framework\n/Flutter/Flutter.framework\n/Flutter/Generated.xcconfig\n/ServiceDefinitions.json\n\nPods/\n"
  },
  {
    "path": "example/ios/Flutter/AppFrameworkInfo.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n  <key>CFBundleDevelopmentRegion</key>\n  <string>en</string>\n  <key>CFBundleExecutable</key>\n  <string>App</string>\n  <key>CFBundleIdentifier</key>\n  <string>io.flutter.flutter.app</string>\n  <key>CFBundleInfoDictionaryVersion</key>\n  <string>6.0</string>\n  <key>CFBundleName</key>\n  <string>App</string>\n  <key>CFBundlePackageType</key>\n  <string>FMWK</string>\n  <key>CFBundleShortVersionString</key>\n  <string>1.0</string>\n  <key>CFBundleSignature</key>\n  <string>????</string>\n  <key>CFBundleVersion</key>\n  <string>1.0</string>\n  <key>UIRequiredDeviceCapabilities</key>\n  <array>\n    <string>arm64</string>\n  </array>\n  <key>MinimumOSVersion</key>\n  <string>8.0</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "example/ios/Flutter/Debug.xcconfig",
    "content": "#include \"Generated.xcconfig\"\n"
  },
  {
    "path": "example/ios/Flutter/Release.xcconfig",
    "content": "#include \"Generated.xcconfig\"\n"
  },
  {
    "path": "example/ios/Flutter/flutter_export_environment.sh",
    "content": "#!/bin/sh\n# This is a generated file; do not edit or check into version control.\nexport \"FLUTTER_ROOT=/Users/rances/development/flutter\"\nexport \"FLUTTER_APPLICATION_PATH=/Users/rances/Repositorio/MyProjects/flutter_dialogflow/example\"\nexport \"FLUTTER_TARGET=/Users/rances/Repositorio/MyProjects/flutter_dialogflow/example/lib/main.dart\"\nexport \"FLUTTER_BUILD_DIR=build\"\nexport \"SYMROOT=${SOURCE_ROOT}/../build/ios\"\nexport \"FLUTTER_FRAMEWORK_DIR=/Users/rances/development/flutter/bin/cache/artifacts/engine/ios\"\n"
  },
  {
    "path": "example/ios/Runner/AppDelegate.swift",
    "content": "import UIKit\nimport Flutter\n\n@UIApplicationMain\n@objc class AppDelegate: FlutterAppDelegate {\n  override func application(\n    _ application: UIApplication,\n    didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?\n  ) -> Bool {\n    GeneratedPluginRegistrant.register(with: self)\n    return super.application(application, didFinishLaunchingWithOptions: launchOptions)\n  }\n}\n"
  },
  {
    "path": "example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-20x20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-20x20@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-29x29@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-40x40@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-40x40@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-60x60@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"60x60\",\n      \"idiom\" : \"iphone\",\n      \"filename\" : \"Icon-App-60x60@3x.png\",\n      \"scale\" : \"3x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-20x20@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"20x20\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-20x20@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-29x29@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"29x29\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-29x29@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-40x40@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"40x40\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-40x40@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-76x76@1x.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"size\" : \"76x76\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-76x76@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"83.5x83.5\",\n      \"idiom\" : \"ipad\",\n      \"filename\" : \"Icon-App-83.5x83.5@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"size\" : \"1024x1024\",\n      \"idiom\" : \"ios-marketing\",\n      \"filename\" : \"Icon-App-1024x1024@1x.png\",\n      \"scale\" : \"1x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}\n"
  },
  {
    "path": "example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json",
    "content": "{\n  \"images\" : [\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"LaunchImage.png\",\n      \"scale\" : \"1x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"LaunchImage@2x.png\",\n      \"scale\" : \"2x\"\n    },\n    {\n      \"idiom\" : \"universal\",\n      \"filename\" : \"LaunchImage@3x.png\",\n      \"scale\" : \"3x\"\n    }\n  ],\n  \"info\" : {\n    \"version\" : 1,\n    \"author\" : \"xcode\"\n  }\n}\n"
  },
  {
    "path": "example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md",
    "content": "# Launch Screen Assets\n\nYou can customize the launch screen with your own desired assets by replacing the image files in this directory.\n\nYou can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images."
  },
  {
    "path": "example/ios/Runner/Base.lproj/LaunchScreen.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"12121\" systemVersion=\"16G29\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"12089\"/>\n    </dependencies>\n    <scenes>\n        <!--View Controller-->\n        <scene sceneID=\"EHf-IW-A2E\">\n            <objects>\n                <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"Ydg-fD-yQy\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"xbc-2k-c8Z\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <subviews>\n                            <imageView opaque=\"NO\" clipsSubviews=\"YES\" multipleTouchEnabled=\"YES\" contentMode=\"center\" image=\"LaunchImage\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"YRO-k0-Ey4\">\n                            </imageView>\n                        </subviews>\n                        <color key=\"backgroundColor\" red=\"1\" green=\"1\" blue=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"sRGB\"/>\n                        <constraints>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"centerX\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerX\" id=\"1a2-6s-vTC\"/>\n                            <constraint firstItem=\"YRO-k0-Ey4\" firstAttribute=\"centerY\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"centerY\" id=\"4X2-HB-R7a\"/>\n                        </constraints>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n            <point key=\"canvasLocation\" x=\"53\" y=\"375\"/>\n        </scene>\n    </scenes>\n    <resources>\n        <image name=\"LaunchImage\" width=\"168\" height=\"185\"/>\n    </resources>\n</document>\n"
  },
  {
    "path": "example/ios/Runner/Base.lproj/Main.storyboard",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"10117\" systemVersion=\"15F34\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" useTraitCollections=\"YES\" initialViewController=\"BYZ-38-t0r\">\n    <dependencies>\n        <deployment identifier=\"iOS\"/>\n        <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"10085\"/>\n    </dependencies>\n    <scenes>\n        <!--Flutter View Controller-->\n        <scene sceneID=\"tne-QT-ifu\">\n            <objects>\n                <viewController id=\"BYZ-38-t0r\" customClass=\"FlutterViewController\" sceneMemberID=\"viewController\">\n                    <layoutGuides>\n                        <viewControllerLayoutGuide type=\"top\" id=\"y3c-jy-aDJ\"/>\n                        <viewControllerLayoutGuide type=\"bottom\" id=\"wfy-db-euE\"/>\n                    </layoutGuides>\n                    <view key=\"view\" contentMode=\"scaleToFill\" id=\"8bC-Xf-vdC\">\n                        <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"600\" height=\"600\"/>\n                        <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n                        <color key=\"backgroundColor\" white=\"1\" alpha=\"1\" colorSpace=\"custom\" customColorSpace=\"calibratedWhite\"/>\n                    </view>\n                </viewController>\n                <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"dkx-z0-nzr\" sceneMemberID=\"firstResponder\"/>\n            </objects>\n        </scene>\n    </scenes>\n</document>\n"
  },
  {
    "path": "example/ios/Runner/Info.plist",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>example</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIMainStoryboardFile</key>\n\t<string>Main</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>arm64</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations~ipad</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationPortraitUpsideDown</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t<false/>\n</dict>\n</plist>\n"
  },
  {
    "path": "example/ios/Runner/Runner-Bridging-Header.h",
    "content": "#import \"GeneratedPluginRegistrant.h\""
  },
  {
    "path": "example/ios/Runner.xcodeproj/project.pbxproj",
    "content": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 46;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };\n\t\t3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };\n\t\t3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; };\n\t\t3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };\n\t\t74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };\n\t\t9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; };\n\t\t9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };\n\t\t9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; };\n\t\t9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; };\n\t\t97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };\n\t\t97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };\n\t\t97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXCopyFilesBuildPhase section */\n\t\t9705A1C41CF9048500538489 /* Embed Frameworks */ = {\n\t\t\tisa = PBXCopyFilesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tdstPath = \"\";\n\t\t\tdstSubfolderSpec = 10;\n\t\t\tfiles = (\n\t\t\t\t3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */,\n\t\t\t\t9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */,\n\t\t\t);\n\t\t\tname = \"Embed Frameworks\";\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXCopyFilesBuildPhase section */\n\n/* Begin PBXFileReference section */\n\t\t1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = \"<group>\"; };\n\t\t1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = \"<group>\"; };\n\t\t3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = \"<group>\"; };\n\t\t3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = \"<group>\"; };\n\t\t74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = \"Runner-Bridging-Header.h\"; sourceTree = \"<group>\"; };\n\t\t74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = \"<group>\"; };\n\t\t7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = \"<group>\"; };\n\t\t9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = \"<group>\"; };\n\t\t9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = \"<group>\"; };\n\t\t9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = \"<group>\"; };\n\t\t97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = \"<group>\"; };\n\t\t97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = \"<group>\"; };\n\t\t97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t97C146EB1CF9000F007C117D /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */,\n\t\t\t\t3B80C3941E831B6300D905FE /* App.framework in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t9740EEB11CF90186004384FC /* Flutter */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t3B80C3931E831B6300D905FE /* App.framework */,\n\t\t\t\t3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,\n\t\t\t\t9740EEBA1CF902C7004384FC /* Flutter.framework */,\n\t\t\t\t9740EEB21CF90195004384FC /* Debug.xcconfig */,\n\t\t\t\t7AFA3C8E1D35360C0083082E /* Release.xcconfig */,\n\t\t\t\t9740EEB31CF90195004384FC /* Generated.xcconfig */,\n\t\t\t);\n\t\t\tname = Flutter;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146E51CF9000F007C117D = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t9740EEB11CF90186004384FC /* Flutter */,\n\t\t\t\t97C146F01CF9000F007C117D /* Runner */,\n\t\t\t\t97C146EF1CF9000F007C117D /* Products */,\n\t\t\t);\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146EF1CF9000F007C117D /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146EE1CF9000F007C117D /* Runner.app */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146F01CF9000F007C117D /* Runner */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146FA1CF9000F007C117D /* Main.storyboard */,\n\t\t\t\t97C146FD1CF9000F007C117D /* Assets.xcassets */,\n\t\t\t\t97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,\n\t\t\t\t97C147021CF9000F007C117D /* Info.plist */,\n\t\t\t\t97C146F11CF9000F007C117D /* Supporting Files */,\n\t\t\t\t1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,\n\t\t\t\t1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,\n\t\t\t\t74858FAE1ED2DC5600515810 /* AppDelegate.swift */,\n\t\t\t\t74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,\n\t\t\t);\n\t\t\tpath = Runner;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146F11CF9000F007C117D /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t97C146ED1CF9000F007C117D /* Runner */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget \"Runner\" */;\n\t\t\tbuildPhases = (\n\t\t\t\t9740EEB61CF901F6004384FC /* Run Script */,\n\t\t\t\t97C146EA1CF9000F007C117D /* Sources */,\n\t\t\t\t97C146EB1CF9000F007C117D /* Frameworks */,\n\t\t\t\t97C146EC1CF9000F007C117D /* Resources */,\n\t\t\t\t9705A1C41CF9048500538489 /* Embed Frameworks */,\n\t\t\t\t3B06AD1E1E4923F5004D2608 /* Thin Binary */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = Runner;\n\t\t\tproductName = Runner;\n\t\t\tproductReference = 97C146EE1CF9000F007C117D /* Runner.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t97C146E61CF9000F007C117D /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 0910;\n\t\t\t\tORGANIZATIONNAME = \"The Chromium Authors\";\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t97C146ED1CF9000F007C117D = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 7.3.1;\n\t\t\t\t\t\tLastSwiftMigration = 0910;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject \"Runner\" */;\n\t\t\tcompatibilityVersion = \"Xcode 3.2\";\n\t\t\tdevelopmentRegion = English;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 97C146E51CF9000F007C117D;\n\t\t\tproductRefGroup = 97C146EF1CF9000F007C117D /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t97C146ED1CF9000F007C117D /* Runner */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t97C146EC1CF9000F007C117D /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */,\n\t\t\t\t3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,\n\t\t\t\t9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */,\n\t\t\t\t97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,\n\t\t\t\t97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Thin Binary\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"/bin/sh \\\"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\\" thin\";\n\t\t};\n\t\t9740EEB61CF901F6004384FC /* Run Script */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Run Script\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"/bin/sh \\\"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\\\" build\";\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t97C146EA1CF9000F007C117D /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,\n\t\t\t\t1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXVariantGroup section */\n\t\t97C146FA1CF9000F007C117D /* Main.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t97C146FB1CF9000F007C117D /* Base */,\n\t\t\t);\n\t\t\tname = Main.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {\n\t\t\tisa = PBXVariantGroup;\n\t\t\tchildren = (\n\t\t\t\t97C147001CF9000F007C117D /* Base */,\n\t\t\t);\n\t\t\tname = LaunchScreen.storyboard;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXVariantGroup section */\n\n/* Begin XCBuildConfiguration section */\n\t\t97C147031CF9000F007C117D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = dwarf;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t97C147041CF9000F007C117D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_NONNULL = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"gnu++0x\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tDEBUG_INFORMATION_FORMAT = \"dwarf-with-dsym\";\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 8.0;\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Owholemodule\";\n\t\t\t\tTARGETED_DEVICE_FAMILY = \"1,2\";\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t97C147061CF9000F007C117D /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tARCHS = arm64;\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.codigopanda.example;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t97C147071CF9000F007C117D /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tARCHS = arm64;\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tFRAMEWORK_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = Runner/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = \"$(inherited) @executable_path/Frameworks\";\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"$(PROJECT_DIR)/Flutter\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = com.codigopanda.example;\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tSWIFT_OBJC_BRIDGING_HEADER = \"Runner/Runner-Bridging-Header.h\";\n\t\t\t\tSWIFT_SWIFT3_OBJC_INFERENCE = On;\n\t\t\t\tSWIFT_VERSION = 4.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t97C146E91CF9000F007C117D /* Build configuration list for PBXProject \"Runner\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t97C147031CF9000F007C117D /* Debug */,\n\t\t\t\t97C147041CF9000F007C117D /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget \"Runner\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t97C147061CF9000F007C117D /* Debug */,\n\t\t\t\t97C147071CF9000F007C117D /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 97C146E61CF9000F007C117D /* Project object */;\n}\n"
  },
  {
    "path": "example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:Runner.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n   LastUpgradeVersion = \"0910\"\n   version = \"1.3\">\n   <BuildAction\n      parallelizeBuildables = \"YES\"\n      buildImplicitDependencies = \"YES\">\n      <BuildActionEntries>\n         <BuildActionEntry\n            buildForTesting = \"YES\"\n            buildForRunning = \"YES\"\n            buildForProfiling = \"YES\"\n            buildForArchiving = \"YES\"\n            buildForAnalyzing = \"YES\">\n            <BuildableReference\n               BuildableIdentifier = \"primary\"\n               BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n               BuildableName = \"Runner.app\"\n               BlueprintName = \"Runner\"\n               ReferencedContainer = \"container:Runner.xcodeproj\">\n            </BuildableReference>\n         </BuildActionEntry>\n      </BuildActionEntries>\n   </BuildAction>\n   <TestAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      language = \"\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\">\n      <Testables>\n      </Testables>\n      <MacroExpansion>\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </MacroExpansion>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </TestAction>\n   <LaunchAction\n      buildConfiguration = \"Debug\"\n      selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n      selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n      language = \"\"\n      launchStyle = \"0\"\n      useCustomWorkingDirectory = \"NO\"\n      ignoresPersistentStateOnLaunch = \"NO\"\n      debugDocumentVersioning = \"YES\"\n      debugServiceExtension = \"internal\"\n      allowLocationSimulation = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n      <AdditionalOptions>\n      </AdditionalOptions>\n   </LaunchAction>\n   <ProfileAction\n      buildConfiguration = \"Release\"\n      shouldUseLaunchSchemeArgsEnv = \"YES\"\n      savedToolIdentifier = \"\"\n      useCustomWorkingDirectory = \"NO\"\n      debugDocumentVersioning = \"YES\">\n      <BuildableProductRunnable\n         runnableDebuggingMode = \"0\">\n         <BuildableReference\n            BuildableIdentifier = \"primary\"\n            BlueprintIdentifier = \"97C146ED1CF9000F007C117D\"\n            BuildableName = \"Runner.app\"\n            BlueprintName = \"Runner\"\n            ReferencedContainer = \"container:Runner.xcodeproj\">\n         </BuildableReference>\n      </BuildableProductRunnable>\n   </ProfileAction>\n   <AnalyzeAction\n      buildConfiguration = \"Debug\">\n   </AnalyzeAction>\n   <ArchiveAction\n      buildConfiguration = \"Release\"\n      revealArchiveInOrganizer = \"YES\">\n   </ArchiveAction>\n</Scheme>\n"
  },
  {
    "path": "example/ios/Runner.xcworkspace/contents.xcworkspacedata",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n   version = \"1.0\">\n   <FileRef\n      location = \"group:Runner.xcodeproj\">\n   </FileRef>\n</Workspace>\n"
  },
  {
    "path": "example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>BuildSystemType</key>\n\t<string>Original</string>\n</dict>\n</plist>\n"
  },
  {
    "path": "example/lib/dialogflow_v1.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_dialogflow/flutter_dialogflow.dart';\nclass PageDialogflowV1 extends StatefulWidget {\n  PageDialogflowV1({Key key, this.title}) : super(key: key);\n\n  final String title;\n\n  @override\n  _PageDialogflowV1 createState() => new _PageDialogflowV1();\n}\n\nclass _PageDialogflowV1 extends State<PageDialogflowV1> {\n  final List<ChatMessage> _messages = <ChatMessage>[];\n  final TextEditingController _textController = new TextEditingController();\n\n  Widget _buildTextComposer() {\n    return new IconTheme(\n      data: new IconThemeData(color: Theme.of(context).accentColor),\n      child: new Container(\n        margin: const EdgeInsets.symmetric(horizontal: 8.0),\n        child: new Row(\n          children: <Widget>[\n            new Flexible(\n              child: new TextField(\n                controller: _textController,\n                onSubmitted: _handleSubmitted,\n                decoration:\n                new InputDecoration.collapsed(hintText: \"Send a message\"),\n              ),\n            ),\n            new Container(\n              margin: new EdgeInsets.symmetric(horizontal: 4.0),\n              child: new IconButton(\n                  icon: new Icon(Icons.send),\n                  onPressed: () => _handleSubmitted(_textController.text)),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n\n  void Response(query) async {\n    _textController.clear();\n    Dialogflow dialogflow =Dialogflow(token: \"Your Token\");\n    AIResponse response = await dialogflow.sendQuery(query);\n    ChatMessage message = new ChatMessage(\n      text: response.getMessageResponse(),\n      name: \"Bot\",\n      type: false,\n    );\n    setState(() {\n      _messages.insert(0, message);\n    });\n  }\n\n  void _handleSubmitted(String text) {\n    _textController.clear();\n    ChatMessage message = new ChatMessage(\n      text: text,\n      name: \"Rances\",\n      type: true,\n    );\n    setState(() {\n      _messages.insert(0, message);\n    });\n    Response(text);\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return new Scaffold(\n      appBar: new AppBar(\n        title: new Text(\"Dialogflow V1\"),\n      ),\n      body: new Column(children: <Widget>[\n        new Flexible(\n            child: new ListView.builder(\n              padding: new EdgeInsets.all(8.0),\n              reverse: true,\n              itemBuilder: (_, int index) => _messages[index],\n              itemCount: _messages.length,\n            )),\n        new Divider(height: 1.0),\n        new Container(\n          decoration: new BoxDecoration(color: Theme.of(context).cardColor),\n          child: _buildTextComposer(),\n        ),\n      ]),\n    );\n  }\n}\n\nclass ChatMessage extends StatelessWidget {\n  ChatMessage({this.text, this.name, this.type});\n\n  final String text;\n  final String name;\n  final bool type;\n\n  List<Widget> otherMessage(context) {\n    return <Widget>[\n      new Container(\n        margin: const EdgeInsets.only(right: 16.0),\n        child: new CircleAvatar(child: new Image.asset(\"img/placeholder.png\")),\n      ),\n      new Expanded(\n        child: new Column(\n          crossAxisAlignment: CrossAxisAlignment.start,\n          children: <Widget>[\n            new Text(this.name, style:new TextStyle(fontWeight:FontWeight.bold )),\n            new Container(\n              margin: const EdgeInsets.only(top: 5.0),\n              child: new Text(text),\n            ),\n          ],\n        ),\n      ),\n    ];\n  }\n\n  List<Widget> myMessage(context) {\n    return <Widget>[\n      new Expanded(\n        child: new Column(\n          crossAxisAlignment: CrossAxisAlignment.end,\n          children: <Widget>[\n            new Text(this.name, style: Theme.of(context).textTheme.subhead),\n            new Container(\n              margin: const EdgeInsets.only(top: 5.0),\n              child: new Text(text),\n            ),\n          ],\n        ),\n      ),\n      new Container(\n        margin: const EdgeInsets.only(left: 16.0),\n        child: new CircleAvatar(child: new Text(this.name[0])),\n      ),\n    ];\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return new Container(\n      margin: const EdgeInsets.symmetric(vertical: 10.0),\n      child: new Row(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: this.type ? myMessage(context) : otherMessage(context),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "example/lib/dialogflow_v2.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter_dialogflow/dialogflow_v2.dart';\n\nclass HomePageDialogflowV2 extends StatefulWidget {\n  HomePageDialogflowV2({Key key, this.title}) : super(key: key);\n\n  final String title;\n\n  @override\n  _HomePageDialogflowV2 createState() => new _HomePageDialogflowV2();\n}\n\nclass _HomePageDialogflowV2 extends State<HomePageDialogflowV2> {\n  final List<ChatMessage> _messages = <ChatMessage>[];\n  final TextEditingController _textController = new TextEditingController();\n\n  Widget _buildTextComposer() {\n    return new IconTheme(\n      data: new IconThemeData(color: Theme.of(context).accentColor),\n      child: new Container(\n        margin: const EdgeInsets.symmetric(horizontal: 8.0),\n        child: new Row(\n          children: <Widget>[\n            new Flexible(\n              child: new TextField(\n                controller: _textController,\n                onSubmitted: _handleSubmitted,\n                decoration:\n                new InputDecoration.collapsed(hintText: \"Send a message\"),\n              ),\n            ),\n            new Container(\n              margin: new EdgeInsets.symmetric(horizontal: 4.0),\n              child: new IconButton(\n                  icon: new Icon(Icons.send),\n                  onPressed: () => _handleSubmitted(_textController.text)),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n\n  void Response(query) async {\n    _textController.clear();\n    AuthGoogle authGoogle = await AuthGoogle(fileJson: \"Asset Your File Json\").build();\n    Dialogflow dialogflow =Dialogflow(authGoogle: authGoogle,language: Language.english);\n    AIResponse response = await dialogflow.detectIntent(query);\n    ChatMessage message = new ChatMessage(\n      text: response.getMessage() ?? new TypeMessage(response.getListMessage()[0]).platform,\n      name: \"Bot\",\n      type: false,\n    );\n    setState(() {\n      _messages.insert(0, message);\n    });\n  }\n\n  void _handleSubmitted(String text) {\n    _textController.clear();\n    ChatMessage message = new ChatMessage(\n      text: text,\n      name: \"Rances\",\n      type: true,\n    );\n    setState(() {\n      _messages.insert(0, message);\n    });\n    Response(text);\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return new Scaffold(\n      appBar: new AppBar(\n        title: new Text(\"Dialogflow V2\"),\n      ),\n      body: new Column(children: <Widget>[\n        new Flexible(\n            child: new ListView.builder(\n              padding: new EdgeInsets.all(8.0),\n              reverse: true,\n              itemBuilder: (_, int index) => _messages[index],\n              itemCount: _messages.length,\n            )),\n        new Divider(height: 1.0),\n        new Container(\n          decoration: new BoxDecoration(color: Theme.of(context).cardColor),\n          child: _buildTextComposer(),\n        ),\n      ]),\n    );\n  }\n}\n\nclass ChatMessage extends StatelessWidget {\n  ChatMessage({this.text, this.name, this.type});\n\n  final String text;\n  final String name;\n  final bool type;\n\n  List<Widget> otherMessage(context) {\n    return <Widget>[\n      new Container(\n        margin: const EdgeInsets.only(right: 16.0),\n        child: new CircleAvatar(child: new Image.asset(\"img/placeholder.png\")),\n      ),\n      new Expanded(\n        child: new Column(\n          crossAxisAlignment: CrossAxisAlignment.start,\n          children: <Widget>[\n            new Text(this.name, style:new TextStyle(fontWeight:FontWeight.bold )),\n            new Container(\n              margin: const EdgeInsets.only(top: 5.0),\n              child: new Text(text),\n            ),\n          ],\n        ),\n      ),\n    ];\n  }\n\n  List<Widget> myMessage(context) {\n    return <Widget>[\n      new Expanded(\n        child: new Column(\n          crossAxisAlignment: CrossAxisAlignment.end,\n          children: <Widget>[\n            new Text(this.name, style: Theme.of(context).textTheme.subhead),\n            new Container(\n              margin: const EdgeInsets.only(top: 5.0),\n              child: new Text(text),\n            ),\n          ],\n        ),\n      ),\n      new Container(\n        margin: const EdgeInsets.only(left: 16.0),\n        child: new CircleAvatar(child: new Text(this.name[0])),\n      ),\n    ];\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return new Container(\n      margin: const EdgeInsets.symmetric(vertical: 10.0),\n      child: new Row(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: this.type ? myMessage(context) : otherMessage(context),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "example/lib/google_assistant.dart",
    "content": "import 'package:example/widgets/basicCard.dart';\nimport 'package:example/widgets/carouselSelect.dart';\nimport 'package:example/widgets/simple_message.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_dialogflow/dialogflow_v2.dart';\n\nclass GoogleAssistant extends StatefulWidget {\n  GoogleAssistant({Key key, this.title}) : super(key: key);\n\n  final String title;\n\n  @override\n  _GoogleAssistant createState() => new _GoogleAssistant();\n}\n\nclass _GoogleAssistant extends State<GoogleAssistant> {\n  final List<dynamic> _messages = <dynamic>[];\n  final TextEditingController _textController = new TextEditingController();\n  BuildContext buildContext;\n  Widget _buildTextComposer() {\n    return new IconTheme(\n      data: new IconThemeData(color: Theme.of(context).accentColor),\n      child: new Container(\n        margin: const EdgeInsets.symmetric(horizontal: 8.0),\n        child: new Row(\n          children: <Widget>[\n            new Flexible(\n              child: new TextField(\n                controller: _textController,\n                onSubmitted: _handleSubmitted,\n                decoration:\n                    new InputDecoration.collapsed(hintText: \"Send a message\"),\n              ),\n            ),\n            new Container(\n              margin: new EdgeInsets.symmetric(horizontal: 4.0),\n              child: new IconButton(\n                  icon: new Icon(Icons.send,color: Colors.blue,),\n                  onPressed: () => _handleSubmitted(_textController.text)),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n\n  dynamic getWidgetMessage(message) {\n    TypeMessage ms = TypeMessage(message);\n    if (ms.platform == \"ACTIONS_ON_GOOGLE\") {\n      if (ms.type == \"simpleResponses\") {\n        return SimpleMessage(\n          text: message['simpleResponses']['simpleResponses'][0]\n              ['textToSpeech'],\n          name: \"Bot\",\n          type: false,\n        );\n      }\n      if (ms.type == \"basicCard\") {\n        return BasicCardWidget(card: BasicCardDialogflow(message));\n      }\n      if (ms.type == \"carouselSelect\") {\n        return CarouselSelectWidget(\n            carouselSelect: CarouselSelect(message),\n            clickItem: (info) {\n              print(info); // Item Click print List Keys\n            });\n      }\n    }\n    return null;\n  }\n\n  void Response(query) async {\n    _textController.clear();\n    AuthGoogle authGoogle =\n        await AuthGoogle(fileJson: \"Asset Your File Json\").build();\n    Dialogflow dialogflow =\n        Dialogflow(authGoogle: authGoogle, language: Language.english);\n    AIResponse response = await dialogflow.detectIntent(query);\n    if (response.getMessage() != null && response.getMessage() != \"\") {\n      SimpleMessage message = new SimpleMessage(\n        text: response.getMessage(),\n        name: \"Bot\",\n        type: false,\n      );\n      setState(() {\n        _messages.insert(0, message);\n      });\n    } else {\n      List<dynamic> messages = response.getListMessage();\n      for (var i = 0; i < messages.length; i++) {\n        dynamic message = getWidgetMessage(messages[i]);\n        if (message != null) {\n          setState(() {\n            _messages.insert(0, message);\n          });\n        }\n      }\n    }\n  }\n\n  void _handleSubmitted(String text) {\n    _textController.clear();\n    SimpleMessage message = new SimpleMessage(\n      text: text,\n      name: \"Rances\",\n      type: true,\n    );\n    setState(() {\n      _messages.insert(0, message);\n    });\n    Response(text);\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    this.buildContext=context;\n    return new Scaffold(\n      backgroundColor: Color(0xf4f4f4f4f4),\n      appBar: new AppBar(\n        title: new Text(\"Google Assistant\"),\n        backgroundColor: Colors.blue,\n      ),\n      body: new Column(children: <Widget>[\n        new Flexible(\n            child: new ListView.builder(\n          padding: new EdgeInsets.all(8.0),\n          reverse: true,\n          itemBuilder: (_, int index) => _messages[index],\n          itemCount: _messages.length,\n        )),\n        new Divider(height: 1.0),\n        new Container(\n          decoration: new BoxDecoration(color: Theme.of(context).cardColor),\n          child: _buildTextComposer(),\n        ),\n      ]),\n    );\n  }\n}\n"
  },
  {
    "path": "example/lib/main.dart",
    "content": "import 'package:example/dialogflow_v1.dart';\nimport 'package:example/dialogflow_v2.dart';\nimport 'package:flutter/material.dart';\n\nimport 'google_assistant.dart';\n\nvoid main() => runApp(new MyApp());\n\nclass MyApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return new MaterialApp(\n      title: 'Example Dialogflow Flutter',\n      theme: new ThemeData(\n        primarySwatch: Colors.deepOrange,\n      ),\n      home: new MyHomePage(title: 'Flutter Demo Dialogflow'),\n    );\n  }\n}\n\nclass MyHomePage extends StatefulWidget {\n  MyHomePage({Key key, this.title}) : super(key: key);\n\n  final String title;\n\n  @override\n  _MyHomePageState createState() => new _MyHomePageState();\n}\n\nclass _MyHomePageState extends State<MyHomePage> {\n  @override\n  Widget build(BuildContext context) {\n    return new Scaffold(\n      appBar: new AppBar(\n        title: new Text(widget.title),\n      ),\n      body: new Column(children: <Widget>[\n        new Container(\n          margin: EdgeInsets.all(10.0),\n          child: new RaisedButton(\n            onPressed: () {\n              Navigator.push(\n                context,\n                MaterialPageRoute(builder: (context) => PageDialogflowV1()),\n              );\n            },\n            child: Text(\"Dialogflow v1\"),\n          ),\n        ),\n        new Container(\n          margin: EdgeInsets.all(10.0),\n          child: new RaisedButton(\n            onPressed: () {\n              Navigator.push(\n                context,\n                MaterialPageRoute(builder: (context) => HomePageDialogflowV2()),\n              );\n            },\n            child: Text(\"Dialogflow v2\"),\n          ),\n        ),\n        new Container(\n          margin: EdgeInsets.all(10.0),\n          child: new RaisedButton(\n            onPressed: () {\n              Navigator.push(\n                context,\n                MaterialPageRoute(builder: (context) => GoogleAssistant()),\n              );\n            },\n            child: Text(\"GoogleAssistant\"),\n          ),\n        )\n      ]),\n    );\n  }\n}\n"
  },
  {
    "path": "example/lib/widgets/basicCard.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter/widgets.dart';\nimport 'package:flutter_dialogflow/v2/message.dart';\n\nclass BasicCardWidget extends StatelessWidget {\n  BasicCardWidget({this.card});\n\n  final BasicCardDialogflow card;\n\n  List<Widget> generateButton() {\n    List<Widget> buttons = [];\n\n    for (var i = 0; i < this.card.buttons.length; i++) {\n      buttons.add(new SizedBox(\n          width: double.infinity,\n          child: new RaisedButton(\n            onPressed: () {},\n            color: Colors.green,\n            textColor: Colors.white,\n            child: Text(this.card.buttons[i]['title']),\n          )));\n    }\n    return buttons;\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return ClipRRect(\n      borderRadius: BorderRadius.all(Radius.circular(20.0)),\n      child: new Container(\n        decoration: BoxDecoration(\n            borderRadius: BorderRadius.all(Radius.circular(20.0)),\n            color: Colors.white),\n        child: new Column(\n          crossAxisAlignment: CrossAxisAlignment.start,\n          children: <Widget>[\n            new Container(\n              child: Image.network(this.card.image.imageUri),\n            ),\n            new Padding(\n              padding: EdgeInsets.all(10.0),\n              child: Column(\n                crossAxisAlignment: CrossAxisAlignment.start,\n                children: <Widget>[\n                  new Text(\n                    this.card.title,\n                    style:\n                        TextStyle(fontSize: 20.0, fontWeight: FontWeight.bold),\n                  ),\n                  new Text(\n                    this.card.subtitle,\n                    style: TextStyle(color: Colors.black.withOpacity(0.6)),\n                  ),\n                  new Container(\n                    margin: const EdgeInsets.only(top: 5.0),\n                    child: new Text(this.card.formattedText),\n                  ),\n                ],\n              ),\n            ),\n            new Container(\n              child: new Column(\n                children: generateButton(),\n              ),\n            ),\n          ],\n        ),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "example/lib/widgets/carouselSelect.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter/widgets.dart';\nimport 'package:flutter_dialogflow/v2/message.dart';\n\n\nclass ItemCarouselWidget extends StatefulWidget {\n  final ItemCarousel item;\n  final Function clickItem;\n  ItemCarouselWidget({Key key,this.item, this.clickItem}) : super(key: key);\n\n  @override\n  _ItemCarouselWidget createState() => _ItemCarouselWidget();\n}\nclass _ItemCarouselWidget extends State<ItemCarouselWidget> {\n  @override\n  Widget build(BuildContext context) {\n    // TODO: implement build\n    return InkWell(\n        onTap: () {\n          widget.clickItem(widget.item.info);\n        },\n        child: ClipRRect(\n          borderRadius: BorderRadius.all(Radius.circular(20.0)),\n          child: new Container(\n            margin: EdgeInsets.all(10.0),\n            width: 300.0,\n            height: 350.0,\n            decoration: BoxDecoration(\n                border: Border.all(color: Colors.black26),\n                borderRadius: BorderRadius.all(Radius.circular(20.0)),\n                color: Colors.white),\n            child: new Column(\n              crossAxisAlignment: CrossAxisAlignment.start,\n              children: <Widget>[\n                Container(\n                  decoration: new BoxDecoration(\n                      image: new DecorationImage(\n                        image: new NetworkImage(widget.item.image.imageUri),\n                        fit: BoxFit.cover,\n                      ),\n                      borderRadius: BorderRadius.only(\n                          topLeft: Radius.circular(20.0),\n                          topRight: Radius.circular(20.0))),\n                  child: null,\n                  height: 200.0,\n                ),\n                new Padding(\n                  padding: EdgeInsets.all(10.0),\n                  child: Column(\n                    crossAxisAlignment: CrossAxisAlignment.start,\n                    children: <Widget>[\n                      new Text(\n                        widget.item.title,\n                        style: TextStyle(\n                            fontSize: 20.0, fontWeight: FontWeight.bold),\n                      ),\n                      new Container(\n                        margin: const EdgeInsets.only(top: 5.0),\n                        child: new Text(widget.item.description),\n                      ),\n                    ],\n                  ),\n                ),\n              ],\n            ),\n          ),\n        ));\n  }\n}\n\nclass CarouselSelectWidget extends StatefulWidget {\n  CarouselSelectWidget({this.carouselSelect, this.clickItem});\n\n  final Function clickItem;\n  final CarouselSelect carouselSelect;\n\n  @override\n  _CarouselSelectWidget createState() => _CarouselSelectWidget();\n}\n\n\nclass _CarouselSelectWidget extends State<CarouselSelectWidget> {\n  List<Widget> listItems() {\n    List<Widget> items = [];\n\n    for (var i = 0; i < widget.carouselSelect.items.length; i++) {\n      items.add(new ItemCarouselWidget(\n          item: widget.carouselSelect.items[i], clickItem: widget.clickItem));\n    }\n    return items;\n  }\n  @override\n  Widget build(BuildContext context) {\n    return new Container(\n      child: new SingleChildScrollView(\n        scrollDirection: Axis.horizontal,\n        child: Row(children: listItems()),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "example/lib/widgets/simple_message.dart",
    "content": "import 'package:flutter/material.dart';\nimport 'package:flutter/widgets.dart';\n\nclass SimpleMessage extends StatelessWidget {\n  SimpleMessage({this.text, this.name, this.type});\n\n  final String text;\n  final String name;\n  final bool type;\n\n  List<Widget> otherMessage(context) {\n    return <Widget>[\n      new Container(\n        margin: const EdgeInsets.only(right: 16.0),\n        child: new CircleAvatar(\n          child: new Image.asset(\"img/googleasistant.png\"),\n          backgroundColor: Colors.transparent,\n        ),\n      ),\n      new Expanded(\n        child: new Column(\n          crossAxisAlignment: CrossAxisAlignment.start,\n          children: <Widget>[\n            new Container(\n              margin: const EdgeInsets.only(top: 5.0),\n              decoration: BoxDecoration(\n                  color: Colors.white,\n                  borderRadius: BorderRadius.all(Radius.circular(20.0))),\n              child: Padding(\n                padding: EdgeInsets.only(\n                    top: 10.0, bottom: 10.0, left: 10.0, right: 10.0),\n                child: new Text(text, style: TextStyle(color: Colors.black),),\n              ),\n            ),\n          ],\n        ),\n      ),\n    ];\n  }\n\n  List<Widget> myMessage(context) {\n    return <Widget>[\n      new Expanded(\n        child: new Column(\n          crossAxisAlignment: CrossAxisAlignment.end,\n          children: <Widget>[\n            new Container(\n              margin: const EdgeInsets.only(top: 5.0),\n              decoration: BoxDecoration(\n                  color: Colors.blue,\n                  borderRadius: BorderRadius.all(Radius.circular(20.0))),\n              child: Padding(\n                padding: EdgeInsets.only(\n                    top: 10.0, bottom: 10.0, left: 10.0, right: 10.0),\n                child: new Text(text, style: TextStyle(color: Colors.white),),\n              ),\n            ),\n          ],\n        ),\n      ),\n      new Container(\n        margin: const EdgeInsets.only(left: 16.0),\n        child: new CircleAvatar(child: new Text(this.name[0])),\n      ),\n    ];\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return new Container(\n      margin: const EdgeInsets.symmetric(vertical: 10.0),\n      child: new Row(\n        crossAxisAlignment: CrossAxisAlignment.start,\n        children: this.type ? myMessage(context) : otherMessage(context),\n      ),\n    );\n  }\n}\n"
  },
  {
    "path": "example/pubspec.yaml",
    "content": "name: example\ndescription: A new Flutter project.\n\ndependencies:\n  flutter:\n    sdk: flutter\n  flutter_dialogflow:\n        path: ../\n  # The following adds the Cupertino Icons font to your application.\n  # Use with the CupertinoIcons class for iOS style icons.\n  cupertino_icons: ^0.1.0\n\ndev_dependencies:\n  flutter_test:\n    sdk: flutter\n\n\n# For information on the generic Dart part of this file, see the\n# following page: https://www.dartlang.org/tools/pub/pubspec\n\n# The following section is specific to Flutter.\nflutter:\n\n  # The following line ensures that the Material Icons font is\n  # included with your application, so that you can use the icons in\n  # the material Icons class.\n  uses-material-design: true\n\n  # To add assets to your application, add an assets section, like this:\n  assets:\n    - img/placeholder.png\n    - img/googleasistant.png\n  #  - images/a_dot_ham.jpeg\n\n  # An image asset can refer to one or more resolution-specific \"variants\", see\n  # https://flutter.io/assets-and-images/#resolution-aware.\n\n  # For details regarding adding assets from package dependencies, see\n  # https://flutter.io/assets-and-images/#from-packages\n\n  # To add custom fonts to your application, add a fonts section here,\n  # in this \"flutter\" section. Each entry in this list should have a\n  # \"family\" key with the font family name, and a \"fonts\" key with a\n  # list giving the asset and other descriptors for the font. For\n  # example:\n  # fonts:\n  #   - family: Schyler\n  #     fonts:\n  #       - asset: fonts/Schyler-Regular.ttf\n  #       - asset: fonts/Schyler-Italic.ttf\n  #         style: italic\n  #   - family: Trajan Pro\n  #     fonts:\n  #       - asset: fonts/TrajanPro.ttf\n  #       - asset: fonts/TrajanPro_Bold.ttf\n  #         weight: 700\n  #\n  # For details regarding fonts from package dependencies, \n  # see https://flutter.io/custom-fonts/#from-packages\n"
  },
  {
    "path": "example/test/widget_test.dart",
    "content": "// This is a basic Flutter widget test.\n// To perform an interaction with a widget in your test, use the WidgetTester utility that Flutter\n// provides. For example, you can send tap and scroll gestures. You can also use WidgetTester to\n// find child widgets in the widget tree, read text, and verify that the values of widget properties\n// are correct.\n\nimport 'package:flutter/material.dart';\nimport 'package:flutter_test/flutter_test.dart';\n\nimport 'package:example/main.dart';\n\nvoid main() {\n  testWidgets('Counter increments smoke test', (WidgetTester tester) async {\n    // Build our app and trigger a frame.\n    await tester.pumpWidget(new MyApp());\n\n    // Verify that our counter starts at 0.\n    expect(find.text('0'), findsOneWidget);\n    expect(find.text('1'), findsNothing);\n\n    // Tap the '+' icon and trigger a frame.\n    await tester.tap(find.byIcon(Icons.add));\n    await tester.pump();\n\n    // Verify that our counter has incremented.\n    expect(find.text('0'), findsNothing);\n    expect(find.text('1'), findsOneWidget);\n  });\n}\n"
  },
  {
    "path": "flutter_dialogflow.iml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module type=\"JAVA_MODULE\" version=\"4\">\n  <component name=\"NewModuleRootManager\" inherit-compiler-output=\"true\">\n    <exclude-output />\n    <content url=\"file://$MODULE_DIR$\">\n      <excludeFolder url=\"file://$MODULE_DIR$/.pub\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/build\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/example/.pub\" />\n      <excludeFolder url=\"file://$MODULE_DIR$/example/build\" />\n    </content>\n    <orderEntry type=\"sourceFolder\" forTests=\"false\" />\n    <orderEntry type=\"library\" name=\"Dart SDK\" level=\"project\" />\n    <orderEntry type=\"library\" name=\"Dart Packages\" level=\"project\" />\n  </component>\n</module>"
  },
  {
    "path": "lib/dialogflow_v2.dart",
    "content": "library flutter_dialogflow;\n\nexport 'v2/auth_google.dart';\nexport 'v2/dialogflow_v2.dart';\nexport 'utils/language.dart';\nexport 'v2/message.dart';"
  },
  {
    "path": "lib/flutter_dialogflow.dart",
    "content": "library flutter_dialogflow;\n\nimport 'package:meta/meta.dart';\nimport 'package:http/http.dart' as http;\nimport 'dart:async';\nimport 'dart:convert';\nimport 'dart:io';\n\nclass Status {\n  int _code;\n  String _errorType;\n  String _errorDetails;\n\n  Status(Map response) {\n    this._code = response[\"code\"];\n    this._errorType = response[\"errorType\"];\n    this._errorDetails = response[\"errorDetails\"];\n  }\n\n  int get getCode => _code;\n\n  set code(int value) {\n    _code = value;\n  }\n\n  String get getErrorType => _errorType;\n\n  set errorType(String value) {\n    _errorType = value;\n  }\n\n  String get getErrorDetails => _errorDetails;\n\n  set errorDetails(String value) {\n    _errorDetails = value;\n  }\n}\n\nclass Fulfillment {\n  String _speech;\n  dynamic _messages;\n\n  Fulfillment(Map response) {\n    this._speech = response[\"speech\"];\n    this._messages = response[\"messages\"];\n  }\n\n  getMessageResponse() {\n    return this._messages[0][\"speech\"];\n  }\n\n  getSpeechResponse() {\n    return this._speech;\n  }\n\n  String get getSApeech => _speech;\n\n  set speech(String value) {\n    _speech = value;\n  }\n\n  dynamic get getMessages => _messages;\n\n  set messages(dynamic value) {\n    _messages = value;\n  }\n}\n\nclass Metadata {\n  String _intentId;\n  String _webhookUsed;\n  String _webhookForSlotFillingUsed;\n  String _intentName;\n\n  Metadata(Map response) {\n    this._intentId = response[\"intentId\"];\n    this._webhookUsed = response[\"webhookUsed\"];\n    this._webhookForSlotFillingUsed = response[\"webhookForSlotFillingUsed\"];\n    this._intentName = response[\"intentName\"];\n  }\n\n  String get getIntentId => _intentId;\n\n  set intentId(String value) {\n    _intentId = value;\n  }\n\n  String get getWebhookUsed => _webhookUsed;\n\n  set webhookUsed(String value) {\n    _webhookUsed = value;\n  }\n\n  String get getWebhookForSlotFillingUsed => _webhookForSlotFillingUsed;\n\n  set webhookForSlotFillingUsed(String value) {\n    _webhookForSlotFillingUsed = value;\n  }\n\n  String get getIntentName => _intentName;\n\n  set intentName(String value) {\n    _intentName = value;\n  }\n}\n\nclass Result {\n  String _source;\n  String _action;\n  String _resolvedQuery;\n  bool _actionIncomplete;\n  Map _parameters;\n  dynamic _contexts;\n  Metadata _metadata;\n  Fulfillment _fulfillment;\n  double _score;\n\n  Result(Map response) {\n    this._source = response[\"source\"];\n    this._action = response[\"action\"];\n    this._resolvedQuery = response[\"resolvedQuery\"];\n    this._actionIncomplete = response[\"actionIncomplete\"];\n    this._parameters = response[\"parameters\"];\n    this._contexts = response[\"contexts\"];\n    this._metadata = new Metadata(response[\"metadata\"]);\n    this._fulfillment = new Fulfillment(response[\"fulfillment\"]);\n    this._score = response[\"score\"];\n  }\n\n  String get getSource => _source;\n\n  set source(String value) {\n    _source = value;\n  }\n\n  String get getAction => _action;\n\n  set action(String value) {\n    _action = value;\n  }\n\n  String get getResolvedQuery => _resolvedQuery;\n\n  set resolvedQuery(String value) {\n    _resolvedQuery = value;\n  }\n\n  bool get getActionIncomplete => _actionIncomplete;\n\n  set actionIncomplete(bool value) {\n    _actionIncomplete = value;\n  }\n\n  Map get getParameters => _parameters;\n\n  set parameters(Map value) {\n    _parameters = value;\n  }\n\n  dynamic get getContexts => _contexts;\n\n  set contexts(dynamic value) {\n    _contexts = value;\n  }\n\n  Metadata get getMetadata => _metadata;\n\n  set metadata(Metadata value) {\n    _metadata = value;\n  }\n\n  Fulfillment get getFulfillment => _fulfillment;\n\n  set fulfillment(Fulfillment value) {\n    _fulfillment = value;\n  }\n\n  double get getScore => _score;\n\n  set score(double value) {\n    _score = value;\n  }\n}\n\nclass AIResponse {\n  String _id;\n  String _timestamp;\n  String _lang;\n  Result _result;\n  Status _status;\n  String _sessionId;\n\n  AIResponse(Map response) {\n    this._status = new Status(response[\"status\"]);\n    if (this._status.getCode != 200) {\n      print(this._status.getErrorType);\n      print(this._status.getErrorDetails);\n      throw new FormatException(this._status.getErrorDetails);\n    } else {\n      this._id = response[\"id\"];\n      this._timestamp = response[\"timestamp\"];\n      this._lang = response[\"lang\"];\n      this._result = new Result(response[\"result\"]);\n    }\n  }\n\n  getMessageResponse() {\n    return this._result.getFulfillment.getMessageResponse();\n  }\n\n  getSpeechResponse() {\n    return this._result.getFulfillment.getSpeechResponse();\n  }\n\n  String get getId => _id;\n\n  set id(String value) {\n    _id = value;\n  }\n\n  String get getTimestamp => _timestamp;\n\n  set timestamp(String value) {\n    _timestamp = value;\n  }\n\n  String get getLang => _lang;\n\n  set lang(String value) {\n    _lang = value;\n  }\n\n  Result get getResult => _result;\n\n  set result(Result value) {\n    _result = value;\n  }\n\n  Status get getStatus => _status;\n\n  set status(Status value) {\n    _status = value;\n  }\n\n  String get getsessionId => _sessionId;\n\n  set sessionId(String value) {\n    _sessionId = value;\n  }\n}\n\nclass Dialogflow {\n  final String token;\n  final String version;\n  final String timezone;\n  final String sessionId;\n  final String language;\n\n  const Dialogflow(\n      {@required this.token,\n      this.version = \"20170712\",\n      this.timezone = \"America/New_York\",\n      this.sessionId = \"12345\",\n      this.language = \"en\"});\n\n  String _getUrl(query) {\n    return \"https://api.dialogflow.com/v1/query?v=$version&contexts=$query\"\n        \"&lang=es&query=$query&lang=$language&sessionId=$sessionId&timezone=$timezone\";\n  }\n\n  Future<AIResponse> sendQuery(query) async {\n    var response = await http.get(\n      _getUrl(query),\n      headers: {HttpHeaders.authorizationHeader: \"Bearer \" + token},\n    );\n    Map data = json.decode(response.body);\n    AIResponse aiResponse = new AIResponse(data);\n    return aiResponse;\n  }\n}"
  },
  {
    "path": "lib/utils/language.dart",
    "content": "class Language {\n  /* Chinese Cantonese */\n  static String chineseCantonese = \"zh-HK\";\n  @Deprecated(\"Use chineseCantonese\")\n  static String CHINESE_CANTONESE = chineseCantonese;\n\n  /* Chinese Simplified */\n  static String chineseSimplified = \"zh-CN\";\n  @Deprecated(\"Use chineseSimplified\")\n  static String CHINESE_SIMPLIFIED = chineseSimplified;\n\n  /* Chinese Traditional */\n  static String chineseTraditional = \"zh-TW\";\n  @Deprecated(\"Use chineseTraditional\")\n  static String CHINESE_TRADITIONAL = chineseTraditional;\n\n  /* Danish */\n  static String danish = \"da\";\n  @Deprecated(\"Use danish\")\n  static String DANISH = danish;\n\n  /* Dutch */\n  static String dutch = \"nl\";\n  @Deprecated(\"Use dutch\")\n  static String DUTCH = dutch;\n\n  /* English */\n  static String english = \"en\";\n  @Deprecated(\"Use english\")\n  static String ENGLISH = english;\n\n  /* English Australian locale */\n  static String englishAustralianLocale = \"en-AU\";\n  @Deprecated(\"Use englishAustralianLocale\")\n  static String ENGLISH_AUSTRALIAN_LOCALE = englishAustralianLocale;\n\n  /* English Canadian locale */\n  static String englishCanadianLocale = \"en-CA\";\n  @Deprecated(\"Use englishCanadianLocale\")\n  static String ENGLISH_CANADIAN_LOCALE = englishCanadianLocale;\n\n  /* English Great Britain locale */\n  static String englishGreatBritaniLocale = \"en-GB\";\n  @Deprecated(\"Use englishGreatBritaniLocale\")\n  static String ENGLISH_GREAT_BRITANI_LOCALE = englishGreatBritaniLocale;\n\n  /* English Indian locale */\n  static String englishIndianLocale = \"en-IN\";\n  @Deprecated(\"Use englishIndianLocale\")\n  static String ENGLISH_INDIAN_LOCALE = englishIndianLocale;\n\n  /* English US locale */\n  static String englishUsLocale = \"en-US\";\n  @Deprecated(\"Use englishUsLocale\")\n  static String ENGLISH_US_LOCALE = englishUsLocale;\n\n  /* French */\n  static String french = \"fr\";\n  @Deprecated(\"Use french\")\n  static String FRENCH = french;\n\n  /* French Canadian locale */\n  static String frenchCanadianLocale = \"fr-CA\";\n  @Deprecated(\"Use frenchCanadianLocale\")\n  static String FRENCH_CANADIAN_LOCALE = frenchCanadianLocale;\n\n  /* France locale */\n  static String frenchFranceLocale = \"fr-FR\";\n  @Deprecated(\"Use frenchFranceLocale\")\n  static String FRENCH_FRANCE_LOCALE = frenchFranceLocale;\n\n  /* German */\n  static String german = \"de\";\n  @Deprecated(\"Use german\")\n  static String GERMAN = german;\n\n  /* Hindi */\n  static String hindi = \"hi\";\n  @Deprecated(\"Use hindi\")\n  static String HINDI = hindi;\n\n  /* Indonesian */\n  static String indonesian = \"id\";\n  @Deprecated(\"Use indonesian\")\n  static String INDONESIAN = indonesian;\n\n  /* Italian */\n  static String italian = \"it\";\n  @Deprecated(\"Use italian\")\n  static String ITALIAN = italian;\n\n  /* Japanese */\n  static String japonese = \"ja\";\n  @Deprecated(\"Use japonese\")\n  static String JAPANESE = japonese;\n\n  /* Korean */\n  static String korean = \"ko\";\n  @Deprecated(\"Use korean\")\n  static String KOREAN = korean;\n\n  /* Norwegian */\n  static String norwegian = \"no\";\n  @Deprecated(\"Use norwegian\")\n  static String NORWEGIAN = norwegian;\n\n  /* Portuguese */\n  static String portuguese = \"pt\";\n  @Deprecated(\"Use portuguese\")\n  static String PORTUGUESE = portuguese;\n\n  /* Portuguese Brazilian */\n  static String portugueseBrazilian = \"pt-BR\";\n  @Deprecated(\"Use portugueseBrazilian\")\n  static String PORTUGUESE_BRAZILIAN = portugueseBrazilian;\n\n  /* Russian */\n  static String russian = \"ru\";\n  @Deprecated(\"Use russian\")\n  static String RUSSIAN = russian;\n\n  /* Spanish */\n  static String spanish = \"es\";\n  @Deprecated(\"Use spanish\")\n  static String SPANISH = spanish;\n\n  /* Spanish Latin America locale */\n  static String spanishLatinAmerica = \"es-419\";\n  @Deprecated(\"Use spanishLatinAmerica\")\n  static String SPANISH_LATIN_AMERICA = spanishLatinAmerica;\n\n  /* Spanish Spain */\n  static String spanishSpain = \"es-ES\";\n  @Deprecated(\"Use spanishSpain\")\n  static String SPANISH_SPAIN = spanishSpain;\n\n  /* Swedish */\n  static String swedish = \"sv\";\n  @Deprecated(\"Use swedish\")\n  static String SWEDISH = swedish;\n\n  /* Thai */\n  static String thai = \"th\";\n  @Deprecated(\"Use thai\")\n  static String THAI = thai;\n\n  /* Ukranian */\n  static String ukranian = \"uk\";\n  @Deprecated(\"Use ukranian\")\n  static String UKRANIAN = ukranian;\n}\n"
  },
  {
    "path": "lib/v2/auth_google.dart",
    "content": "import 'dart:convert';\n\nimport 'package:flutter/services.dart';\nimport 'package:googleapis_auth/auth_io.dart';\nimport 'package:http/http.dart';\nimport 'package:meta/meta.dart';\nimport 'package:http/http.dart' as http;\n\nclass AuthGoogle {\n  final String fileJson;\n  final List<String> scope;\n  final String sessionId;\n  AuthGoogle({@required this.fileJson,this.scope=const [\"https://www.googleapis.com/auth/cloud-platform\"],this.sessionId=\"123\"});\n\n\n  String _projectId;\n  AccessCredentials _credentials;\n\n\n  Future<String> getReadJson() async {\n    String data = await rootBundle.loadString(this.fileJson);\n    return data;\n  }\n\n  Future<AuthGoogle> build() async {\n    String readJson = await getReadJson();\n    Map jsonData = json.decode(readJson);\n    var _credentialsResponse = new ServiceAccountCredentials.fromJson(readJson);\n    var data = await clientViaServiceAccount(_credentialsResponse, this.scope);\n    _projectId = jsonData['project_id'];\n    _credentials = data.credentials;\n    return this;\n  }\n\n  bool get hasExpired{\n    return _credentials.accessToken.hasExpired;\n  }\n\n  String get getSessionId{\n    return sessionId;\n  }\n  String get getProjectId{\n    return _projectId;\n  }\n\n  String get getToken{\n    return _credentials.accessToken.data;\n  }\n\n  Future<Response> post(url, {Map<String, String> headers, body,\n    Encoding encoding}) async{\n    if (!hasExpired) {\n      return await http.post(url, headers: headers, body:body);\n    } else {\n      await build();\n      return await http.post(url, headers: headers, body:body);\n    }\n  }\n}\n"
  },
  {
    "path": "lib/v2/dialogflow_v2.dart",
    "content": "import 'dart:convert';\nimport 'dart:io';\nimport 'package:flutter_dialogflow/v2/auth_google.dart';\nimport 'package:meta/meta.dart';\n\nclass Intent {\n  String name;\n  String displayName;\n\n  Intent(Map data) {\n    name = data[\"name\"];\n    displayName = data[\"displayName\"];\n  }\n}\n\nclass QueryResult {\n  String queryText;\n  String action;\n  Map parameters;\n  bool allRequiredParamsPresent;\n  String fulfillmentText;\n  List<dynamic> fulfillmentMessages;\n  Intent intent;\n\n  QueryResult(Map data) {\n    queryText = data[\"queryText\"];\n    action = data[\"action\"];\n    parameters = data[\"parameters\"] ?? null;\n    allRequiredParamsPresent = data[\"allRequiredParamsPresent\"];\n    fulfillmentText = data[\"fulfillmentText\"];\n    intent = data['intent'] != null ? new Intent(data['intent']) : null;\n\n    fulfillmentMessages = data['fulfillmentMessages'];\n  }\n}\n\nclass DiagnosticInfo {\n  String webhookLatencyMs;\n\n  DiagnosticInfo(Map response) {\n    webhookLatencyMs = response[\"webhook_latency_ms\"];\n  }\n}\n\nclass WebhookStatus {\n  String message;\n\n  WebhookStatus(Map response) {\n    message = response['message'];\n  }\n}\n\nclass AIResponse {\n  String _responseId;\n  QueryResult _queryResult;\n  num _intentDetectionConfidence;\n  String _languageCode;\n  DiagnosticInfo _diagnosticInfo;\n  WebhookStatus _webhookStatus;\n\n  AIResponse({Map body}) {\n    _responseId = body['responseId'];\n    _intentDetectionConfidence = body['intentDetectionConfidence'];\n    _queryResult = new QueryResult(body['queryResult']);\n    _languageCode = body['languageCode'];\n    _diagnosticInfo = (body['diagnosticInfo'] != null\n        ? new DiagnosticInfo(body['diagnosticInfo'])\n        : null);\n    _webhookStatus = body['webhookStatus'] != null\n        ? new WebhookStatus(body['webhookStatus'])\n        : null;\n  }\n\n  String get responseId {\n    return _responseId;\n  }\n\n  String getMessage() {\n    return _queryResult.fulfillmentText;\n  }\n\n  String getWebhookStatusMessage() {\n    return _webhookStatus.message;\n  }\n\n  List<dynamic> getListMessage() {\n    return _queryResult.fulfillmentMessages;\n  }\n\n  num get intentDetectionConfidence {\n    return _intentDetectionConfidence;\n  }\n\n  String get languageCode {\n    return _languageCode;\n  }\n\n  DiagnosticInfo get diagnosticInfo {\n    return _diagnosticInfo;\n  }\n\n  WebhookStatus get webhookStatus {\n    return _webhookStatus;\n  }\n\n  QueryResult get queryResult {\n    return _queryResult;\n  }\n}\n\nclass Dialogflow {\n  final AuthGoogle authGoogle;\n  final String language;\n  final String payload;\n  final bool resetContexts;\n\n  const Dialogflow({@required this.authGoogle, this.language=\"en\", this.payload=\"\", this.resetContexts=false});\n\n  String _getUrl() {\n    return \"https://dialogflow.googleapis.com/v2/projects/${authGoogle.getProjectId}/agent/sessions/${authGoogle.getSessionId}:detectIntent\";\n  }\n\n\n  Future<AIResponse> detectIntent(String query) async {\n\n    String queryParams = '{\"resetContexts\": ${this.resetContexts} }';\n\n    if (payload.isNotEmpty) {\n      queryParams = '{\"resetContexts\": ${this.resetContexts}, \"payload\": $payload}';\n    }\n\n    String body = '{\"queryInput\":{\"text\":{\"text\":\"$query\",\"language_code\":\"$language\"}}, \"queryParams\": $queryParams}';\n\n    var response = await authGoogle.post(_getUrl(),\n        headers: {\n          HttpHeaders.authorizationHeader: \"Bearer ${authGoogle.getToken}\"\n        },\n        body: body);\n\n    return AIResponse(body: json.decode(response.body));\n  }\n}\n"
  },
  {
    "path": "lib/v2/message.dart",
    "content": "class ListTextDialogflow {\n  List<String> listText = [];\n\n  ListTextDialogflow(Map response) {\n    List<dynamic> listText = response['text']['text'];\n    listText.forEach((element)=> this.listText.add(element));\n  }\n}\n\nclass ImageDialogflow {\n  String imageUri;\n  String accessibilityText;\n\n  ImageDialogflow(Map response) {\n    this.imageUri = response['imageUri'];\n    this.accessibilityText = response['accessibilityText'];\n  }\n}\n\nclass QuickReplies {\n  String title;\n  List<String> quickReplies=[];\n\n  QuickReplies(Map response) {\n    this.title = response['quickReplies']['title'];\n    List<dynamic> listQuickReplies = response['quickReplies']['quickReplies'];\n    listQuickReplies.forEach((element)=> this.quickReplies.add(element));\n  }\n}\n\nclass ButtonDialogflow {\n  String text;\n  String postback;\n\n  ButtonDialogflow(Map response) {\n    text = response['text'];\n    postback = response['postback'];\n  }\n}\n\nclass CardDialogflow {\n  String title;\n  String subtitle;\n  String imageUri;\n  List<ButtonDialogflow> buttons=[];\n\n  CardDialogflow(Map response) {\n    this.title = response['card']['title'];\n    this.subtitle = response['card']['subtitle'];\n    this.imageUri = response['card']['imageUri'];\n    List<dynamic> listButtons = response['card']['buttons'];\n    for (int i = 0; i < listButtons.length; i++) {\n      ButtonDialogflow b =new ButtonDialogflow(listButtons[i]);\n      buttons.add(b);\n    }\n  }\n}\n\nclass SimpleResponse {\n  String textToSpeech;\n  String ssml;\n  String displayText;\n\n  SimpleResponse(Map response){\n    this.textToSpeech = response['textToSpeech'];\n    this.ssml = response['ssml'];\n    this.displayText = response['displayText'];\n  }\n}\n\nclass SimpleResponses {\n  List<SimpleResponse> simpleResponses =[];\n\n  SimpleResponses(Map response){\n    List<dynamic> listSimpleResponse = response['simpleResponses']['simpleResponses'];\n    for (int i = 0; i < listSimpleResponse.length; i++) {\n      SimpleResponse b =new SimpleResponse(listSimpleResponse[i]);\n      simpleResponses.add(b);\n    }\n  }\n}\n\nclass BasicCardDialogflow {\n  String title;\n  String subtitle;\n  String formattedText;\n  ImageDialogflow image;\n  List<dynamic> buttons;\n\n  BasicCardDialogflow(Map response) {\n    this.title = response['basicCard']['title'];\n    this.subtitle = response['basicCard']['subtitle'];\n    this.formattedText = response['basicCard']['formattedText'];\n    this.image = new ImageDialogflow(response['basicCard']['image']) ;\n    this.buttons = response['basicCard']['buttons'];\n  }\n}\n\n\nclass ItemCarousel{\n  dynamic info;\n  String title;\n  String description;\n  ImageDialogflow image;\n  ItemCarousel(Map item){\n    this.info = item['info'];\n    this.title = item['title'];\n    this.description = item['description'];\n    this.image =new ImageDialogflow(item['image']);\n  }\n}\n\nclass CarouselSelect {\n  List<ItemCarousel> items=[];\n  CarouselSelect(Map response){\n    List<dynamic> list = response['carouselSelect']['items'];\n    for(var i=0;i<list.length;i++){\n      items.add(new ItemCarousel(list[i]));\n    }\n  }\n}\n\nclass TypeMessage{\n  String platform;\n  String type;\n  TypeMessage(Map message){\n    this.platform=message['platform'];\n    if(message.containsKey('card')){\n      this.type='card';\n    }\n    if(message.containsKey('basicCard')){\n      this.type='basicCard';\n    }\n    if(message.containsKey('simpleResponses')){\n      this.type='simpleResponses';\n    }\n    if(message.containsKey('carouselSelect')){\n      this.type='carouselSelect';\n    }\n  }\n}\n"
  },
  {
    "path": "pubspec.yaml",
    "content": "name: flutter_dialogflow\ndescription: Flutter package for makes it easy to integrate dialogflow and support dialogflow v2\nversion: 0.1.3\nauthor: Victor Alfonso Rodas Oña <victordevcode@gmail.com>\nhomepage: https://github.com/VictorRancesCode/flutter_dialogflow\n\ndependencies:\n  flutter:\n    sdk: flutter\n  http: ^0.12.0+2\n  googleapis_auth: ^0.2.6\n\ndev_dependencies:\n  test:\n  flutter_test:\n    sdk: flutter\n\nflutter:\n\nenvironment:\n  sdk: '>=1.20.1 <3.0.0'\n"
  },
  {
    "path": "test/flutter_dialogflow_test.dart",
    "content": "import 'package:test/test.dart';\n\nimport 'package:flutter_dialogflow/flutter_dialogflow.dart';\n\nvoid main() {\n  test('Test Dialogflow', () async {\n    Dialogflow dialogflow =\n        Dialogflow(token: \"Your Token\");\n    AIResponse response = await dialogflow.sendQuery(\"hello world\");\n    if (response.getStatus.getCode != 200)\n      expect(false, throwsNoSuchMethodError);\n  });\n}\n"
  }
]