Google is committed to advancing racial equity for Black communities. See how.

Intent constructor

Intent({@required String action, String handler})

Creates an Intent 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.

Implementation

Intent({
  @required String action,
  String handler,
}) : super(
        action: action,
        handler: handler,
        parameters: [],
      );