|  | 
 |  | 
 |  | 
 | # Intent class | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |     *[<Null safety>](https://dart.dev/null-safety)* | 
 |  | 
 |  | 
 |  | 
 | <p>An <a href="../package-fuchsia_modular_module/Intent-class.md">Intent</a> is a fundamental building block of module development. | 
 | Modules will either be started with an intent or will receive an | 
 | intent after they have been launched. It is up to the module author | 
 | to decide how to respond to the intents that they receive.</p> | 
 | <p>A module will only receive intents which have been registered in their | 
 | module manifest file. A special case is when they are launched by the | 
 | system launcher in which case the action will be an empty string.</p> | 
 | <p>An example manifest which handles multiple intents would look like:</p> | 
 | <pre class="language-dart"><code>{ | 
 |   "@version": 2, | 
 |   "binary": "my_binary", | 
 |   "suggestion_headline": "My Suggesting Headline", | 
 |   "intent_filters": [ | 
 |     { | 
 |       "action": "com.my-pets-app.show_cats", | 
 |       "parameters": [ | 
 |         { | 
 |           "name": "cat", | 
 |           "type": "cat-type" | 
 |         } | 
 |       ] | 
 |     }, | 
 |     { | 
 |       "action": "com.my-pets-app.show_dogs", | 
 |       "parameters": [ | 
 |         { | 
 |           "name": "dog", | 
 |           "type": "dog-type" | 
 |         }, | 
 |         { | 
 |           "name": "owner", | 
 |           "type": "person-type" | 
 |         } | 
 |       ] | 
 |     } | 
 |   ] | 
 | } | 
 | </code></pre> | 
 |  | 
 |  | 
 |  | 
 |  | 
 | ## Constructors | 
 |  | 
 | [Intent](../package-fuchsia_modular_module/Intent/Intent.md) ({required String? action, String? handler}) | 
 |  | 
 | Creates an <a href="../package-fuchsia_modular_module/Intent-class.md">Intent</a> that is used to start | 
 | a module which can handle the specified action. | 
 | If an explicit handler is not set the modular framework | 
 | will search for an appropriate handler for the given action.    | 
 |  | 
 |  | 
 | ## Properties | 
 |  | 
 | ##### [hashCode](../package-fuchsia_modular_module/Intent/hashCode.md) → int | 
 |  | 
 |  | 
 |  | 
 | The hash code for this object.   | 
 | _<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_ | 
 |  | 
 |  | 
 |  | 
 | ##### [runtimeType](../package-fuchsia_modular_module/Intent/runtimeType.md) → Type | 
 |  | 
 |  | 
 |  | 
 | A representation of the runtime type of the object.   | 
 | _<span class="feature read-only">read-only</span><span class="feature inherited">inherited</span>_ | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 | ## Methods | 
 |  | 
 | ##### [noSuchMethod](../package-fuchsia_modular_module/Intent/noSuchMethod.md)(Invocation invocation) dynamic | 
 |  | 
 |  | 
 |  | 
 | Invoked when a non-existent method or property is accessed.   | 
 | _<span class="feature inherited">inherited</span>_ | 
 |  | 
 |  | 
 |  | 
 | ##### [toString](../package-fuchsia_modular_module/Intent/toString.md)() String | 
 |  | 
 |  | 
 |  | 
 | A string representation of this object.   | 
 | _<span class="feature inherited">inherited</span>_ | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 | ## Operators | 
 |  | 
 | ##### [operator ==](../package-fuchsia_modular_module/Intent/operator_equals.md)(Object other) bool | 
 |  | 
 |  | 
 |  | 
 | The equality operator.   | 
 | _<span class="feature inherited">inherited</span>_ | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  | 
 |  |