ShowToast constructor

ShowToast({
  1. required BuildContext context,
  2. String name = "show_toast",
  3. String description = "show a toast notification",
  4. String title = "show toast",
})

Implementation

ShowToast({required this.context, super.name = "show_toast", super.description = "show a toast notification", super.title = "show toast"})
  : super(
      inputSchema: {
        "type": "object",
        "additionalProperties": false,
        "required": ["title", "description"],
        "properties": {
          "title": {"type": "string"},
          "description": {"type": "string"},
        },
      },
    );